Changes

Jump to: navigation, search

DPS909 & OSD600 Winter 2018

3,265 bytes added, 13:36, 11 April 2018
no edit summary
** [[OSD600 and DPS909 Winter 2018 Lab 5|Lab 5]]
** Continue working on [[OSD & DPS909 Winter 2018 Release 0.2|Release 0.2]]
 
== Week 10 ==
 
* Testing
** Unit Tests
** Regression Tests
** Performance Tests
** Integration Tests
** Fuzz Tests
** Stress/Load Tests
** Smoke Tests
 
* JavaScript Testing Examples
** https://medium.com/welldone-software/an-overview-of-javascript-testing-in-2018-f68950900bc3
** Frameworks - [https://mochajs.org/ mocha], [https://facebook.github.io/jest/ jest]
** Assertions - [http://www.chaijs.com/ chai], [https://facebook.github.io/jest/docs/en/expect.html Jest expect]
** Test Runners - [https://karma-runner.github.io/2.0/index.html karma]
** Browser Environments - [https://github.com/GoogleChrome/puppeteer Puppeteer], [https://github.com/jsdom/jsdom jsdom]
** Code Coverage - [https://gotwarlost.github.io/istanbul/ istanbul]
 
* Continuous Integration
** Most are free for Open Source projects
** [https://travis-ci.com/ Travis CI]
** [https://www.appveyor.com/ AppVeyor]
** [https://circleci.com/ CircleCI]
** Example in VSCode https://github.com/Microsoft/vscode/pull/46117
 
** Writing tests in Bridge Troll
 
== Week 11 ==
 
* [https://github.com/humphd/browser-laptop/tree/good-first-experience-issue-10554#walkthrough-fixing-a-bug-in-the-brave-browser Case Study: Fixing a bug in Brave]
* Read other students' open source experience fixing bugs for 0.2. [http://zenit.senecac.on.ca/~chris.tyler/planet/ Lots of great stories, lessons.]
* [[OSD600 and DPS909 Winter 2018 Lab 6|Lab 6]]
 
== Week 12 ==
 
* More tests on Bridge Troll
* Finish [[OSD600 and DPS909 Winter 2018 Lab 6|Lab 6]]
 
* [https://wiki.cdot.senecacollege.ca/wiki/OSD_%26_DPS909_Winter_2018_Release_0.3 Release 0.3]
 
== Week 13 ==
 
* Automating build, test, and deploy steps with Travis CI
** https://docs.travis-ci.com/
** https://docs.travis-ci.com/user/for-beginners/
 
* Travis uses YAML for configuration
** YAML Ain't Markup Language (YAML)
** https://en.wikipedia.org/wiki/YAML
** Usually uses the .yml extension
** https://learnxinyminutes.com/docs/yaml/
 
* Stages of a Travis CI Build
** https://docs.travis-ci.com/user/customizing-the-build/#The-Build-Lifecycle
** Adding OS-level dependencies https://docs.travis-ci.com/user/installing-dependencies/
 
* Running Tests per Commit/PR
** https://docs.travis-ci.com/user/languages/javascript-with-nodejs/
** Assumes you want to `npm install` and run `npm test`
** Therefore, you need a working install and test process via `package.json`
 
* Deploy to GitHub and gh-pages
** https://pages.github.com/
** https://help.github.com/categories/github-pages-basics/
** Enable HTTPS https://help.github.com/articles/securing-your-github-pages-site-with-https/
** Custom 404 page https://help.github.com/articles/creating-a-custom-404-page-for-your-github-pages-site/
** https://docs.travis-ci.com/user/deployment/pages/
 
* Some example .travis.yml files in OSS projects
** https://github.com/Microsoft/vscode/blob/master/.travis.yml
** https://github.com/devtools-html/debugger.html/blob/master/.travis.yml
** https://github.com/brave/browser-laptop/blob/master/.travis.yml
** https://github.com/datalocale/dataviz-finances-gironde/blob/master/.travis.yml
 
* Custom Domians
** https://help.github.com/articles/using-a-custom-domain-with-github-pages/
** $0.99 .ca domains https://cira.ca/
 
* [[OSD600 and DPS909 Winter 2018 Lab 7|Lab 7]]

Navigation menu