Skip to content

earl-stephens/Mythical-Creatures-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mythical Creatures Java

Java Eclipse Sonarlint

Table of Contents

Introduction

Mythical Creatures is a Turing School of Software & Design project that is done in Ruby. The intent of the project is to practice both basic Ruby and TDD. I have taken this project and re-written it in Java for my own practice. The project is located at Mythical Creatures.

Getting Started

For someone wishing to convert the project from Ruby to Java, I started by taking each RSpec test and converting it to an equivalent test in Java using JUnit and AssertJ. I would write out the test in Java, and then proceed with the normal red-green-refactor TDD process to write out the classes and code under test.

For someone wanting to just practice Java TDD, copy the creaturesTest package, and then try to write your own code to make the tests pass.

Further Improvements

I used AssertJ later on in the project. One thing I would like to do is go back and see if there are other previous tests where I can use this library to make the tests more succinct.

Built With

Java version 17.0.6

JUnit 5

AssertJ 3.24.2

Eclipse 2020-06

Coverage

With JUnit 5, coverage was 100%. Using SonarLint, there were no issues found.

Authors

Earl Stephens

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages