Comments (1)
WebTest is one approach, but with WebCore applications is not ideal. Unit testing the controller methods directly (using nose or whatnot) will be an excellent approach as WebCore controllers, unlike many others, return the name of the template and the data, allowing you to very rapidly test the crap-in-crap-out case. The templates can then be separately tested by utilizing alacarte
/marrow.templating
directly.
Separation of testing of the MVC components should be quite effective, and simpler to get going than full request processing (and parsing the resultant HTML).
from webcore.
Related Issues (20)
- Extract WebAssets integration extension into own package. HOT 1
- Complete coverage for base extension breadcrumb list. HOT 1
- Serialization extension. HOT 1
- Transaction management extension. HOT 1
- Complete tests for the static application. HOT 1
- Add "trace" logging level prior to configuration.
- Add ability for extensions to exclude each-other.
- HTTPException instances caught fail to preserve important response headers. HOT 1
- Annotation extension support for use of default value in the event of casting failure.
- Provide an executor to execute futures after response streaming. HOT 1
- Document citation.
- Adapt to verboten direct execution of static methods.
- Misspelled string HOT 1
- Improve usefulness of typecasting failures. HOT 1
- Local value referenced outside of scope. HOT 1
- During initial creation of the placeholder response, clear the content type. HOT 2
- Dispatcher incorrectly handles trailing slashes
- Support the return of Path values for static file delivery.
- Dispatch issue during migration from object to resource dispatchers. HOT 1
- Ensure endpoint arguments are decoded prior to passing.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webcore.