Coder Social home page Coder Social logo

mythical-creatures-java's Introduction

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

mythical-creatures-java's People

Contributors

earl-stephens avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.