Skip to content

Latest commit

 

History

History
61 lines (55 loc) · 2.27 KB

File metadata and controls

61 lines (55 loc) · 2.27 KB

Sagely Introduction to TDD Exercises

Development Environment Setup

Local Development

Requirements

  1. Install the following Visual Studio Code plugins:
  2. Clone the exercise repository
    git clone https://github.com/growsagely/test-driven-development-exercises-intro.git
  3. Install the dependencies
    npm install
  4. Run the following command to auto run the test suite any time a file changes.
    npm run test:watch

GitHub Code Spaces

  1. Log into GitHub
  2. Navigate to the test-driven-development-exercises-intro repository
  3. Open Codespaces Codespace
  4. Press Ctrl+Shift+` to open a terminal window
  5. Type npm run test:watch to auto run the test suite any time a file changes.

Local Development Container

Requirements

  1. Install the Dev Containers Visual Studio Code plugin.
  2. Clone the exercise repository
    git clone https://github.com/growsagely/test-driven-development-exercises-intro.git
  3. Open the cloned folder with Visual Studio Code
  4. Click the Remote Window button in lower left hand corner of the Visual Studio Code window. Open Container Window
  5. Select Reopen in Container from the select menu. Reopen in Container
  6. Be patient, the first time loading the container may take several minutes. Subsequent loads will be much faster.
  7. Press Ctrl+Shift+` to open a terminal window
  8. Type npm run test:watch to auto run the test suite any time a file changes.