Coder Social home page Coder Social logo

jobfair22-qa-challenge's Introduction

JobFair 2022

Nordeus - QA Puzzle: Find all the bugs in the given code and write unit tests for it

Setup:

Like nothing is perfect, every piece of code is more or less likely to have some bugs or at least some space for improvement. Responsibility of every developer and especially QA engineers is to minimize the probability that some code has bugs. There are plenty of ways to make it happen, but here we are going to simulate only some of them. It is known that the later the phase of development is, the more expensive fixing a bug becomes. It would be perfect if we could find all bugs before any execution testing. It sounds simple, just look at the code and detect mistakes, but it is harder than it looks like. We are going to simulate and practice this kind of debugging.

Game Description:

Since we are in the field of live sport games, there are always a lot of events that are going on in our game. In this task you have one little event. This event is a guessing game, the player gets to pick one option out of multiple options and if he picks the right one he gets a reward, if not he is out of the game.

Tech Description:

This project consists of two parts:

  1. First part is the FindThePrize.java class where all the logic of the game is written. Here you need to analyze code, find bugs and fix them. Also be free to modify code so it is more efficient and easier to unit test. In comments you can discuss code in general.
  2. Second part is the TestFindThePrize.java class where you need to write unit tests for main game logic. Think of crucial tests and find the minimum number of unit tests that you think is necessary to say that code is safely tested.

Submission:

You should send your answers to this email [email protected] with a link to the forked Github project. We will go through git history to review your changes and evaluate code. (Hint: With submitting this project, you can also make your own implementation for this event that can also be unit tested)

Good luck!

Open until November 28 , end of day.

jobfair22-qa-challenge's People

Watchers

Strahinja Kustudic avatar Tomislav Rakić avatar Marko Stojakovic avatar Misa Jovanovic avatar Igor Stojković avatar zMaja 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.