Skip to content

vishutupili/ECE444-F2023-Lab5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECE444-F2023-Lab5

Part 1: Creating a Flask Project and Tests

In this repository, I have replayed the example from https://github.com/mjhea0/flaskr-tdd#login-required

Part 2: Adding Test Functions to Group Project

Here are the test functions that I added to my group project:

Part 3: Pros and Cons of TDD

Test driven development (TDD) is a method of coding where programmers write tests before implementing code. There are many pros and cons to TDD.

Pros

  • TDD helps everyone in a team set expectations for how they expect a feature/function to behave before it is implemented (everyone is on the same page)
  • TDD allows for better collaboration when implementing code since the tests set clear expectations
  • TDD ensures that the testing process is not rushed (since tests are designed before code is implemented)
  • TDD often involves a test for each feature, which results in more reliable code
  • TDD works well with the Agile method, as both are iterative processes

Cons

  • TDD may slow the development process, as tests need to be written for all features (even if the implementation is relatively straightforward)
  • If requirements change throughout the development process, the tests will need to be updated - this may take up extra time
  • TDD doesn't work well with the Waterfall method, which is a sequential model

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published