Previous Lecture | lect08 | Next Lecture |
lect08, Mon 10/25
Overview: Software Testing
Slides
Materials
- Overview of Javascript Testing, and just in case you are over your free Medium articles quota: PDF version
- A Beginner’s Guide to Unit-testing with Jest
- Python Testing Frameworks
MVP Tag/Release in your GitHub repo by the end of today!
By the end of today, 10/25/21, tag and release your MVP project in your github. This brief article gives some suggestions on versioning numbering.
To create a tag:
Option 1: Web UI
- You can use the web UI to create a tag, but it will only create the tag from the current version (most recent commit). The tag is automatically created when you create a new release in the git UI.
- Skip directly to ‘Create a Release’
Option 2: command line instructions.
(Choose this option if you need to create a tag that is earlier than the most recent commit)
git tag v1.0.0 <commit ID>
note - v1.0.0 is the tag name, and commitID refers to the last commit in your MVP
you can find the commit ID using git log
, or using the history tab in the github web ui
if done correctly, you should see something like this in the git log
if you messed up, you can delete the tag using git tag -d <tag_name>
Verify that everything looks good, then git push origin <tag_name>
Your newly created tag should appear in your tags page on the web UI
To create a release:
Option 1:
- If you want to create a release from the current, most recent commit
- On the right hand column, there should be a section labeled ‘Releases’. Click on ‘create a new release’
- Put v1.0.0 in the ‘Tag Version’ box, and fill out the rest of the boxes.
- Click `Publish Release’ and the tag will automatically be created for you
Option 2:
- If you want to create a release from an existing tag
- On the right hand column, there should be a section labeled ‘Releases’. Click on ‘create a new release’
- There should be a toggle between Releases and Tabs right above the ‘Tag Version’ form. Click on Tabs to toggle over.
- Click on the menu (with 3 dots) on the far right hand side of the tag, and select ‘Create Release’
- Fill out the form, and
Publish Release
Deployment today. Video deadline tomorrow. On Wednesday: Participate in the MVP review and review other groups’ MVPs
By today’s deadline, you should have reviewed and accepted your final pull request for your MVP. Also, the Deployment Instructions linked from your README.md are filled in and workable.
In class on Wed, 10/27/21, 14:00, we will watch the videos all the groups have created, and provide feedback in a simple Google Form. You will get points towards lab04 for submitting these forms.
Work in Breakout Groups
- Work towards MVP
- GitHub Release by the end of today! Up-to-date github repo with complete README.md file that provides complete instructions for deploying your product.
- Please fill in a link to your deployment (or to your README deployment instructions if you don’t maintain a live deployment) in the team links spreadsheet
- MVP Video by end of tomorrow, Tuesday, 10/26/2021 (23:59:59): link to it in
<github>
/team/MVP_DEMO.md and enter it in the team links spreadsheet!