-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
since apps are already split up into components, why not tests? i'm not 100% sure how this would work yet, but i want each component to be able to have its own tests:
{
"name": "router",
"dependencies": {}
"development": {
"dependencies": {}
},
"tests": [
"tests/*.js"
]
}then a test runner could go through each component (in resolution order) and run each file after building the component in development mode. thus, no more test/ folder!
we could add more structure to this like requiring the tests to be of the form:
test.js
test/*.js
tests/*.js
so it could be run easier outside of component (i.e. mocha cli). we can have a shortcut "tests": true for this.
Metadata
Metadata
Assignees
Labels
No labels