Skip to main content
Expand all Collapse all
ELSE
Moodle Login Page
  • Home
  • Calendar
  • Pagini utile
    Pagina facultății CIM Orarul studiilor FCIM Calendarul universitar
    Planuri de învățămînt
  • More
  • English ‎(en)‎
    English ‎(en)‎ Français ‎(fr)‎ Română ‎(ro)‎ Русский ‎(ru)‎
  1. FAF.TS21.1
  2. Testing Methodologies: TDD (Test-Driven Development), BDD (Behavior-Driven Development)
  3. Testing Methodologies: TDD, BDD

Testing Methodologies: TDD, BDD

Testing Methodologies: TDD, BDD

Completion requirements

1. Theoretical Study

   - Research TDD and BDD and explain their core principles in your own words. 

   - Compare the two methodologies and highlight the scenarios in which each is more suitable. 

 

2. Practical Implementation

   - Choose a programming language of your choice (Python, Java, JavaScript, etc.). 

   - The implementation must follow these steps: 

  •     For TDD: 

       - Write a unit test before implementing the functionality. 

       - Run the test (it should initially fail). 

       - Write the minimal code necessary to make the test pass. 

       - Refactor the code while keeping the tests green. 

  •      For BDD: 

       - Write a test scenario using a specific BDD framework (Cucumber, Behave, Jest+BDD, etc.). 

       - Implement the functionality based on the test specifications. 

 

3. Final Report

   - Describe the implementation process and any challenges encountered. 

   - Attach the source code and test results. 

   - Provide a personal conclusion on the advantages and disadvantages of each methodology based on your practical experience. 

« PreviousBack to CourseNext »
Footer (Left)

Blocks

Footer (Middle)

Blocks

Footer (Middle 2)

Blocks

Footer (Right)

Blocks

(c) 2026 | Cursuri dezvoltate în cadrul Universității Tehnice a Moldovei (Facultatatea Calculatoare, Informatică și Microelectronică)

You are currently using guest access (Log in)
Data retention summary
Get the mobile app