intern
intern copied to clipboard
A next-generation code testing stack for JavaScript.
Intern should have built-in support for snapshot testing for serializable data values. The goal would be for Intern to record values (any JSON-serializable value, like React render trees) to files...
It can be tedious work with stubbed / mocked functions. Jasmine and others include a [spy implementation](https://github.com/pivotal/jasmine/wiki/Spies) to make this easier. Chai has a separate plugin for this at https://github.com/chaijs/chai-spies....
Intern should provide an out-of-the-box solution for module mocking. The system should work with at least the Node loader and webpack, and it should provide type safety. The mocking system...
The structure and patterns of Intern's configuration schema should be made more consistent. In particular, related items should be grouped, and some items could be better named. Group all `functional*`...
Combine Runner, and Pretty into a single NodeConsole reporter, and drop Simple. The combined reporter should use Runner's output format by default (streaming text to the console), but should support...
The coverage reporters are all just thin wrappers around Istanbul's coverage reporters. Rather than having a bunch of duplicative wrappers, have a single coverage reporter module that accepts options to...
Currently reporters are all implemented as classes based on a Reporter root class. Internally, however, they are simply event listeners. The reporter class structure was intended to provide some shared...
Functional tests currently expose the Command API through `this.remote`. The session API is the standard Promises-based API, and should also be directly available. Make the session directly available as `this.browser`.
Add a menu to Intern's watch mode (#1096), similar to Jest's. This menu will allow users to decide how Intern should react to file updates. Since Intern doesn't yet have...
Given the popularity of VSCode and of testing integrations for VSCode, Intern would benefit from some level of integration with editor. The initial implementation should run Intern unit tests, capture...