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
Test Automation with Jest and Selenium

bookSetting 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

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

セクション 1.  3
some-alt