Comments (1)
It might be worth having another look at the template I laid out in the intro to testing workshop:
// Answer these questions for each unit test you write:
test('What component aspect are you testing?', function(assert) {
const actual = 'What is the actual output?';
const expected = 'What is the expected output?';
assert.equal(actual, expected, 'What should the feature do?');
assert.end();
});
The first string you give to the test describes what feature you're testing. The second string (given to the assertions) is to describe what the feature you're testing should do.
from week2-atoms.
Related Issues (20)
- 100% Coverage!!!
- Could clarify test descriptions
- Usage of deepEqual HOT 1
- Should update local storage in update function not render function..
- adding a new todo doesn't work HOT 1
- Remove commented code
- Well done !!
- Form is better for creating todo
- add language tag !
- Make sure you're running tests with the correct function HOT 2
- Save functionality not working online
- Buttons have no focus styles HOT 2
- Object.assign is ES6
- Declare variables at the top of their scope HOT 1
- Sizing doesn't scale on mobile HOT 1
- cannot tab ! HOT 2
- deleteToDo() doesn't clone objects HOT 1
- Use of Github
- Avoid deeply nesting CSS selectors
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 week2-atoms.