Skip to content

Exercise project to support an introduction to test automation in JavaScript workshop

License

Notifications You must be signed in to change notification settings

reaktor/intro-to-test-automation-with-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro to test automation with JavaScript

This is an exercise project to support an introductory workshop around writing automated unit and integration tests for a Node application, in JavaScript.

Preparing for the workshop

Since you're reading this README, you've either cloned the project repository already or at least know where to get it. Once you have a fresh copy on your computer, do the following:

  1. Install node

  2. Install the project's dependencies:

    $ npm install
    
  3. Try to run the existing suite of tests:

    $ npm test
    

    If you see mentions of tests passing and no glaring errors, you're probably good to go!

    Having said that, you might want to confirm that the "application" starts up normally outside of the test harness as well:

  4. Spin up the application server:

    $ npm start
    

    You should see a mention of Express running and PORT 4000.

If you don't have anything else to do...

Feel free to browse the code that's already in place.

References that might come handy

Since JavaScript tools' autocompletion is what it is, you'll probably find yourself perusing the API docs for your chosen assertion library more frequently than you'd like. Here's a menu of what we're already using in different parts of the project:

About

Exercise project to support an introduction to test automation in JavaScript workshop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published