| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Example code for my aligneddev.net article and SD Code Camp 2018.
In June 2020, I updated this to .Net Core 5 preview 5.
I hope to show an example at my presentation and people will walk out thinking "I can do that".
Master branch is the up-to-date version.
Provide a way to track biking miles for purposes of reporting.
I currently have a Google Spreadsheet that I use to track all of this and see this as an opportunity to write some fun code.
For the purposes of this talk sample code, we'll keep it simple and not all the functionality will be implemented at this time.
The ride information to save and returns. Mirrors the DB structure with EF Core.
used in my presentation
-- get current temp to fill in ride info Given an API call When asking for current temp Then it calls the weather Api with the correct zip code
Given a new ride is submitted When missing values (invalid) Then it should return a 503 with a invalid message
Examples
Given a new ride is submitted When all values filled in (valid) Then it should persist to the data store with those values
Examples
I have Cypress tests, and even Cypress running against Blazor, in this repo
Given the new ride screen When missing values (invalid) And Save is clicked Then it should show the validation message(s)
Examples
Given the new ride screen When all values filled in (valid) And Save is clicked Then it should post to the persist the ride
Examples
Given the new ride screen When all values filled in (valid) And Save is clicked And Post fails Then it should show the correct error message
Given the new ride screen When all values filled in (valid) And Save is clicked And Post succeeds Then it should clear the values in the form And Update totals (2nd test)
Examples
?? any needed with SPA approach?? my article on "classic" MVC testing
| Back | FazBrowse Home | New Git URL |