Git Product home page Git Product logo

lemming's People

Contributors

ehbar avatar junkert avatar qix- avatar simar7 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

lemming's Issues

lomax: Better error messages on misconfigured input.

Currently upon a misconfigured test bench with an option either missing or ill-defined, the testbench throws the following error:

➜  lomax git:(master) ✗ ./lomax --vector=openstack-generic-test-select.json --config=openstack-generic-config.json
panic: interface conversion: interface is nil, not int

goroutine 1 [running]:
runtime.panic(0x6011a0, 0xc21004f5c0)
        /usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6
main.initPtrs()
        /home/simar/syseng/gocode/src/github.com/opendns/lemming/lomax/lomax.go:75 +0x2ad
main.main()
        /home/simar/syseng/gocode/src/github.com/opendns/lemming/lomax/lomax.go:298 +0x35

This isn't very informative and the user wouldn't really know what went wrong. We need to give better error messages.

Add support for configuration files

If we add support for configuration files we can easily run applications once checked out from github on different infrastructures and test environments. This file would hold things such as:

1, username
2. password
3. default database host
4. default database port
5. default database
6. alternate database hosts (or a list of read/write hosts)

Example / HowTo would be useful.

lomax: Add support for randomized data input

It'd be nice to run tests without coming up with actual data to input. This input data can come from randomized sources from within lomax.go with the help of libraries that can generate suitable data for us to use.

The framework will parse the test script inputs and if it sees a --random flag being passed in, it'll use randomized data than otherwise.

lomax: Add realistic test cases

Lomax is modeled to describe a real world scenario testing and benchmarking framework. It would be nice to add test cases that model real scenarios.

In this case, our tests will model the test_db employee database.

  • Employee Layoff Scenario
  • Employee Pay cut Scenario
  • Company hires new employees
  • Company expands and adds new departments and employees

Please feel free to suggest any other scenarios you may think appropriate, happy to accept a PR!

lomax: Make the database table input sequence agnostic.

We need to support both possible combinations that are possible for a JOIN statement by adding both x,y and y,x to the list of possible switch cases the code branches that are possible. Currently only one out of the two is handled.

Testing automation with testplan generation.

It'd be nice to generate test plans to run them using lomax. We can write these test cases in a standard markdown format (json?) and then let lomax parse them and run the tests accordingly.

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.