Skip to content

Instantly share code, notes, and snippets.

@fmendozaro
Last active August 21, 2020 20:52
Show Gist options
  • Save fmendozaro/0b934bc9babe54aa9b3f265bb57a77af to your computer and use it in GitHub Desktop.
Save fmendozaro/0b934bc9babe54aa9b3f265bb57a77af to your computer and use it in GitHub Desktop.

Testing Code and Working with a Partner

https://www.youtube.com/watch?v=dsF9dlzIKtE

jUnit Practice Opportunities

Java

Go back and implement a Maven project structure to these past projects and add tests to them, you can either add tests to the existing code or re-do them from scratch while you apply the full TDD cycle.

  • Methods -> Adventure game
  • File IO -> Contacts Manager CLI
  • OOP -> Input Class
  • Arrays -> Movie List App

Integration Tests Practice Opportunities

Front End Testing

Spring Boot

A new project but using TDD to apply Integration Testing from the beginning.

  • Create a test for a READ action URL like index ('/')
  • Create a controller that listens to the URL ('/') and looks for a 'Hello World' text.
  • Test, Implement and Resolve.
  • Test and implement the login, logout, register and edit User features
  • Repeat the process for the rest of the CRUD actions in several entities in your app.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment