2021-offseason's Introduction
2021-offseason's People
2021-offseason's Issues
Setup JUnit Development Environment
- Read this overview of JUnit: https://www.tutorialspoint.com/junit/junit_overview.htm
- Install Java Coding Pack for Windows from here: https://code.visualstudio.com/docs/java/java-tutorial
- Clone this repo onto computer
- Create a branch with the format firstName-workspace (ex: for me it would be andrew-workspace) and switch into it
- Open junit5-jupiter-starter-gradle folder in VSCode
- Install Gradle Extension Pack from: https://marketplace.visualstudio.com/items?itemName=richardwillis.vscode-gradle-extension-pack
- Open Gradle tab on left, run build task
- Verify build works and is no tests fail
- Read sections 1, 2, 3 on this guide on JUnit https://www.vogella.com/tutorials/JUnit/article.html
- Review code in project, referencing the JUnit 5 guide if needed: https://junit.org/junit5/docs/current/user-guide/
- Add multiplication operation to the Calculator.java class
- Create a test in CalculatorTests.java to test multiplying 3x7
- Run tests and verify test passes
- Read this https://www.tutorialspoint.com/junit/junit_test_framework.htm
- Commit and push changes to your working branch. Put a "#1" somewhere in your commit message to have it show up on this issue ticket!
Mockito Intro
- Clone this repo and switch to your working branch
- Pull changes from the master branch into your working branch
- Read this page https://www.tutorialspoint.com/mockito/mockito_overview.htm
- Recreate the Math Application as shown in https://www.tutorialspoint.com/mockito/mockito_junit_integration.htm, following along with tutorial up through Behavior Driven Development. The math application as shown on the mockito junit integration page has been copied into this repo under the mockito-starter-gradle project
- [ ]
- Commit your code to your branch, making sure to include a "#2" to reference your commit to this issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.