Skip to content

Welcome! This is an optional project that you can complete prior to the start of the Summer Internship Program to help you learn our tech stack. Feel free to leave comments with your questions, however please try to complete this on your own!

Notifications You must be signed in to change notification settings

JeanRoca/Test-Driven-Development-Project-FE

Repository files navigation

Test Driven Development Project - FE

Welcome! This is an optional project that you can complete prior to the start of the Summer Internship Program to help you learn our tech stack. Feel free to leave comments with your questions, however please try to complete this on your own!

This application is built to help teach Angular 8, one of the technologies you might be using this summer. The way this application was built was by writing unit tests, and your job is to go into the application and develop the features.

The project

This project is an application that allows a user to manage books. As the developer of this project, you will need to create a table to display the books returned from the backend, add a book preview, and add a form to update books by sending a request to the backend.


To begin:

To start, first run the command to install the dependencies: yarn or npm install


To develop:

To see what your code currently does, run the start command by running either npm start or yarn start. To see if your project matches the functionality expected, run the tests: npm test or yarn test.


Don't know where to begin?

  • If this is your first time using Angular, you should start by doing the Angular Tour of Heroes application, created by the Angular team.

  • After you have completed the tour of heroes, start looking into some functionality to write! Each component has tests written so that you can focus on one component at a time.

  • To only run tests on one component, prefix the describe in each test file (*.spec.ts) with an f so it turns into fdescribe.

  • This trick can also work for each individual test, replacing it with fit.

  • You can also prefix describe and it with an x (xdescribe or xit) to tell the test runner to skip those tests.

About

Welcome! This is an optional project that you can complete prior to the start of the Summer Internship Program to help you learn our tech stack. Feel free to leave comments with your questions, however please try to complete this on your own!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published