Git Product home page Git Product logo

qacodingchallenge's Introduction

QA Coding Challenge

Coding and test plan challenges for QA candidates

Instructions

  • Clone this repo to your local machine
  • Use it to create a new repo on GitHub under your own account (please don't use GitHub fork to accomplish this)
  • Complete the challenge described below
  • Cleanup commit history to have 1 commit per challenge, in order, on the master branch.
  • Send us an email with a link to your repo

Challenge 1. Test a static HTML page

Using any python test framework, write a test that makes sure that https://www.google.com/ is up. The goal is not to test the content of the page but rather make sure that the page is available.

  • Provide instructions how to run your test. Part of this assignment is to see how you would hand off production code to your fellow engineers.
  • Your solution will be reviewed by the engineers you would be working with if you joined Also Energy. We are interested in seeing your real-world design, coding, and testing skills.
  • If you have any questions, please, email them to the person who sent you the challenge

Challenge 2. Test plan

This challenge is for seasoned QA engineers. If you are applying to a Junior QA Eng position, you are not required to do it.

At Also Energy, we generate all kinds of alerts for the systems that we monitor. Let's think about how to write a test plan for zero generation alerts. This type of alert is triggered when a monitored system does not produce energy. We still receive the data from the system but the generation number is zero (hence, the name of the alert). When such an alert is created, the user is notified by an email message. When the alert is cleared, the user is notified by email again.

Alerts can be in one of the following states: Open, Acknowledged, or Closed. When an alert is first generated by the system it is in Open state. An email notification is sent to the user every day until the alert is Acknowledged by the user or Closed by the system. An Alert is Closed when the condition that caused it ceases to occur (this can happen before it is acknowledged). In the case of zero generation alerts, that would be when the system starts reporting energy being generated again. A notification email should also be sent when any alert is Closed.

Write a test plan for the system described above. The test plan should cover both alert lifecycle and notification systems. Please, assume that the tests will be automated and could be run anytime during development.

Bonus

Solar panels don't produce energy at night. Therefore, we had to introduce the configuration parameters sunset and sunrise that define a time period in the day when we do NOT create zero-gen alerts. These parameters could be set and read via an API. Think about how you would test this configuration. Add a couple of test cases to your plan for this feature.

qacodingchallenge's People

Contributors

ruslanb avatar

Watchers

 avatar  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.