-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from neu-se/module02-tdd
slides for module2
- Loading branch information
Showing
6 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
layout: page | ||
title: Test-Driven Development | ||
nav_exclude: true | ||
--- | ||
|
||
## Test-Driven Development | ||
|
||
This activity is intended to supplement the CS4530 lecture on test-driven development. | ||
|
||
### Steps | ||
|
||
1. Download and unpack the [starter Code]({{ site.baseurl }}{% link Activities/module02-tdd-transcript-activity.zip %}) | ||
2. Write down the testable behaviors for the satisfaction condition: "Add a new grade for an existing student" | ||
3. Identify at least two exceptional conditions or design decisions associated with these testable behaviors | ||
4. Write Jest tests for your testable behaviors | ||
5. Implement a method `addGrade` that passes your tests. | ||
|
||
When you are done, submit your work as required by your instructor. This may vary from section to section. |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
layout: module | ||
title: "2 - From Requirements to Code" | ||
permalink: /modules/2-requirements-to-code | ||
parent: Modules | ||
nav_order: 2 | ||
lessons: | ||
- title: From Requirements to Code | ||
pdf: "Module 02 From Requirements to Code.pdf" | ||
ppt: "Module 02 From Requirements to Code.pptx" | ||
|
||
--- | ||
### Learning Objectives: | ||
In this lecture, you will learn to: | ||
|
||
* Explain the basics of the Test-Driven Design | ||
* Develop simple applications using Typescript and Jest | ||
* Learn more about Typescript and Jest from tutorials, blog posts, and documentation | ||
|
||
### Important Dates: | ||
* Individual Project Deliverable 1 **Due Wednesday, Sep 20 by 11am**{: .label .label-red } | ||
|
||
{% include lesson.html %} | ||
|
||
### Activity | ||
* [TDD Activity Handout]({{site.baseurl}}{% link Activities/Module02 Activity.md %}) | ||
|
||
### Tutorials | ||
* [Writing Tests with Jest]({{site.baseurl}}{% link tutorials/week1-unit-testing.md %}) | ||
|
||
### Resources | ||
* [Podcast: Kent Beck on Software Engineering Daily](https://softwareengineeringdaily.com/2019/08/28/facebook-engineering-process-with-kent-beck/) - An interview with Kent Beck (creator/evangelizer of TDD) about his time at Facebook and the relationship between Facebook and TDD |