Posts

Showing posts from February, 2024

Sai Mallik Rameshwaram-WD401-level5

                                             Documentation Explanation of YAML file Pipeline setup:   This consists of a name and on attributes followed by env attributes.  ->  name :  Gives a name to our automatic checks for the Online Voting Application. Besides,  recognize what these checks are for in our GitHub Actions. -> on:   This basically d ecides when these checks should happen. And ensures the checks run whenever there's a change in the master code branch.  -> env:  These stores special details needed for our checks, like database information. we used three environment variables. 1)PG_Database 2)PG_User   3)  PG_PASSWORD     1) PG_Database:  Specifies the database name used for the Online Voting Application.                ...

Sai Mallik Rameshwaram WD401-level4

Image
                                                                                            WD401-level4          Configuration of Testing Framework: I've used Jest for testing small parts of the code (unit testing) and Cypress for testing the entire application from start to finish (end-to-end testing), which also covers integration testing. Jest configuration: Jest is a testing framework commonly used for JavaScript applications. which helps to check if your JavaScript code works correctly. It's easy to use and helps you write tests to make sure your code does what it's supposed to do. It's popular because it's simple and does a good job of testing JavaScript programs. steps I followed to configure jest in my application:   step-...