Code Monkey home page Code Monkey logo

Comments (6)

notahat avatar notahat commented on July 29, 2024

Sounds like a good idea to me. Feel like forking and giving it a go?

You'd have to find somewhere to store each index, and have a hook to reset them before each test much the way Sham does.

from machinist.

jeremydurham avatar jeremydurham commented on July 29, 2024

I added this on my fork of Machinist with specs: jeremydurham/machinist@35a38d9715caf52cb33a6e73c65e0391c8c95bff

from machinist.

jfirebaugh avatar jfirebaugh commented on July 29, 2024

Thanks Jeremy, that's what I'm looking for.

One nit: index should probably match Sham and start with 1 rather than 0.

from machinist.

jeremydurham avatar jeremydurham commented on July 29, 2024

Good call; I wondered about this but didn't take the time to look and see what Sham does. Updated: jeremydurham/machinist@a52de812478265301726dad00c91af66de8b2656

from machinist.

jfirebaugh avatar jfirebaugh commented on July 29, 2024

+1 to jeremydurham's changes. I've been using them and they work great.

from machinist.

notahat avatar notahat commented on July 29, 2024

Ok, finally cleaning up these old tickets!

I think this is a great idea, but I've found people are already confused by Sham and indexing, and having indexes in another place as well would just add to the confusion.

I'm preparing a pre-release of Machinist 2, and the road I've gone down there (for a bunch of reasons) is to throw out Sham, and do everything with indexes in blueprints.

So, in short, your idea wins, and my original idea is going out the window. I'll add you to the list of contributors to Machinist 2, Jeremy. Thanks for the discussion and the work!

from machinist.

Related Issues (20)

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.