Unit tests
See original GitHub issueWe need this for stability and to prevent regressions. Luckily, we already have a CI, so running tests is just one more command to run.
Things to discuss:
- where to start (might be a good idea to look into how other popular electron projects did this, and I know many didn’t at all)
- testing framework and support libs (jasmine or ava, plus karma, sinon, also really need to look into
spectron) - how to test (need to separate main process tests and browser-side tests)
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Unit testing - Wikipedia
In computer programming, unit testing is a software testing method by which individual units of source code—sets of one or more computer program...
Read more >What Is Unit Testing? - SmartBear
Unit Testing is the process of checking small pieces of code to deliver information early and often, speeding your testing strategies, and reducing...
Read more >Unit Testing Tutorial – What is, Types & Test Example - Guru99
Unit Testing is a type of software testing where individual units or components of a software are tested. The purpose is to validate...
Read more >What is Unit Testing? Definition from WhatIs.com - TechTarget
Unit testing is a software development process in which the smallest testable parts of an application, called units, are individually and independently ...
Read more >Unit testing fundamentals - Visual Studio (Windows)
Check that your code is working as expected by creating and running unit tests. It's called unit testing because you break down the ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

One more candidate to consider: Jest
Setup is done, tests just need to be written.