Giter Site home page Giter Site logo

trading-tribe-technical-test-assessment's Introduction

SBG - Bet Trading Tribe

Technical Test Assessment

This test comes with a mock API server that represents a snapshot of our internal Sky Bet Trading Engine.

The challenge is to build an automation framework that explores and tests the endpoints provided.

Further information regarding each endpoint can be found here

NOTE: Please ignore the "Usage and SDK Samples". They are unreliable.

The Test

We realise that everyone has different levels of skills and experience when it comes to development, and so if you do not have the time or knowledge to complete all tasks, that's okay, we just want to see how you would approach the problem and get a feel for how you code.

Take no more than 1.5 to 2 hours on this test.

Languages

This is a test automation focused test, so the end deliverable should be a test framework with various assertions against the provided endpoints.

How you get there is up to you: we typically use Node.js or Kotlin, but you may use any mainstream language you like.

Review Criteria

At a high level we will be looking for:

  • Clear instructions for how to set up and run the framework on a reviewer's machine
  • Good understanding of the tasks undertaken
  • Well-structured and concise code
  • Use of relevant design patterns
  • Good understanding of errors and how to handle them

Submission

Please upload your completed test to a publicly-accessible repository in a hosting service (e.g. GitHub), and send a link to your recruitment contact at Sky Bet.

Installation

Pre-requisites

Usage

Start the mock API server: npm install && npm run start

It runs by default on http://localhost:3000

Tasks

Using the provided API:

  1. Retrieve all fixtures.
    1. Assert that there are 3 fixtures within the returned object.
    2. Assert that each of the 3 fixtures has a fixtureId value.
  2. Using the model guide in apiDocs.html, store a new fixture in the database.
    1. Get the new fixture.
    2. Assert, within the teams array, that the first object has a teamId of 'HOME'.
  3. To simulate latency within systems, there is an intentional, random delay to store a new fixture on the server.
    1. Bearing the delay in mind, create a new fixture and then retrieve it as soon as it's available
  4. Create and delete a new fixture.
    1. Assert that the fixture no longer exists.

trading-tribe-technical-test-assessment's People

Contributors

blittle91 avatar s-leigh 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.