Giter Site home page Giter Site logo

jules's People

Contributors

kminehart avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

zikes anjesh87

jules's Issues

Test coverage is low!

ok  	_/home/kminehart/Work/jules/cmd/jules	0.002s	coverage: 18.8% of statements

what a disaster!

Use docker containers to run tests

The problem

I'm having to ship a giant docker container to run Jules on monorepos with many different classes of projects.

Example:
We have a monorepo which pretty heavily uses Go. It also has a project for the front-end, which uses node / yarn. There's also a small Ruby project for some one-off thing that Ruby fanboy in the office built. Someone else decided to use Django for a small administrative piece.

Suddenly, Jules needs python, go, node, yarn, dep... It's not exactly a configurable solution.'

The solution

Allow projects to specify docker containers. For running the go commands, specify the golang docker image; or for the ruby project, specify the ruby image.

Implementing the `-diffs` flag.

-diffs is supposed to only run tests on projects that have been changed in this commit.

The original plan said that "if a file was changed in this commit, then run the stage(s) for the project it is in."

However, there's an issue with that. If the test fails, and the developer goes on to modify another project, then the tests won't run for that project until it is modified again, leading to false positives.

One proposed solution would be to make the diffs based on branches.

jules test -diff origin/master

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.