Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Setting Up & Reviewing our Application | Introduction to Automation Testing
Introduction to Automation Testing
course content

Зміст курсу

Introduction to Automation Testing

Setting Up & Reviewing our Application

Throughout this course, we will be practicing our testing concepts on a practical application. The application will be a much simplified version of the Twitter app.

The application file structure is summarized below:

  • controllers/userController.js contains functions that are used by - - routes/index.js. These functions define what happens when a user visits a specific route.
  • models folder contains classes for post and user, which provide utility methods for querying the database. It also contains the database.js script which initializes the database.
  • public folder contains all the static files that should be delivered to the user unchanged, without any modification.
  • The routes/index.js file defines the routes of our application.
  • The views folder contains all the Embedded JavaScript (EJS) templates that are used in our application.
  • app.js is the entry point of our application. It contains code for configuring and starting the Express server.

Following are some minimum feature requirements for our end product:

  • Ability to Like and Share posts;
  • Ability to Follow and View other profiles;
  • Profile Management Section;
  • Sorting posts by Popularity or Recency;

By the end of the course, all the above-mentioned features will be added to our application and we will have a sufficient amount of test cases for each of those features.

Все було зрозуміло?

Секція 1. Розділ 3
We're sorry to hear that something went wrong. What happened?
some-alt