mahin651
Posted on April 1, 2022
- Date:1/04/2022
- Day:Friday
Today I started at about 10:50 am as I was done with he implementation of jwt tokens so, firstly I started with removing the redudend and unwanted code as well as files to get a clean and efficient code and after this as I was done with all the work I was assigned so, I started with leftover videos of my course for better understanding of CRUD app and started watching the integration testing module so, in the starting the instructor started with integration tests, he explained that it is used to test our application with a real database. As a best practice, we basically separate our test database from the development or production databases and do the integration testing.and after this the instructor stated the working of it i.e Start with a clean state (database). and Populating the database only with the data required
by the test. Not more, not less. Cleaning up after your test using the afterEach function. and he stated that it is the simplest test and easy to implement it and it have zero dependency to external resources. so, this way my day ended up and learnt about certain new things.
Posted on April 1, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.