Skip to content
Permalink
Browse files
  • Loading branch information
aa7401 committed Mar 19, 2020
2 parents 0afb922 + bb9b965 commit 5841c5d529e3ed99626a3d38f99ef8d967abf14a
Showing 1 changed file with 9 additions and 0 deletions.
@@ -6,6 +6,15 @@ In this lab you will focus on implementing the test-driven development technique
1. Writing unit tests for _legacy code_.
2. Implementing a full TDD process for our new code.

## New to Unit testing?

If you are new to unit testing it is recommended that you start the lab by working through a tutorial that covers the platform you are using:

- [NodeJS (Koa)](https://cumoodle.coventry.ac.uk/mod/url/view.php?id=2577459)
- [ReactJS](https://medium.com/wehkamp-techblog/unit-testing-your-react-application-with-jest-and-enzyme-81c5545cee45)
- [Arduino](https://docs.platformio.org/en/latest/tutorials/core/unit_testing_blink.html)
- [Python](https://www.tutorialspoint.com/pytest/index.htm)

## Writing Tests for Legacy Code

It is likely you already have some code that you will be using as a foundation to add additional functionality. Before you add more features you should take time to write test suites that cover the existing code. Although this can take some time it is something you should always take time to do if you are to create a robust piece of software.

0 comments on commit 5841c5d

Please sign in to comment.