Git Product home page Git Product logo

scenario-tester's People

Contributors

ef4 avatar krisselden avatar lolmaus avatar mansona avatar stefanpenner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

scenario-tester's Issues

double tmp paths in embroider builds

Context: we are using scenario-tester to test babel-plugin-ember-test-metadata against Classic & Embroider Ember build scenarios.

The problem we're seeing is that for Embroider build app scenarios, the file path prefix we get has a double tmp path.

Expected path: /private/var/folders/24/v9y37q75019cv62vg5ms10tw001llm/T/embroider/620a67/tests/acceptance/foo-test.js

Path we're getting in the Embroider scenario instead: /private/var/folders/24/v9y37q75019cv62vg5ms10tw001llm/T/embroider/620a67/private/var/folders/24/v9y37q75019cv62vg5ms10tw001llm/T/tmp-72329-6SsJEomJQDVe/tests/acceptance/foo-test.js

Rename classes and methods to be more understandable

  1. We should definitely rename the Scenarios class as there is ambiguity between it and a plural of the Scenario class.
  2. There is a lot of diffusion of meaning between the terms Scenario, scenario, variant, derived project, etc. We should make effort to separate those and meaningfully explain in documentation.
  3. Review code to identify more opportunities for clarification.

Support monorepos (or running commands in linked dependencies)

This came up in this PR: embroider-build/embroider#1126 (review)

Where I'm trying to build a library that is linked to an app.

The issue is that I can't seem to run rollup in the linked addon and have those assets available to the PreparedApp.

execute, exists on the app, but is not available for linked packages.

@ef4 suggested this API:

await app.inDependendency('v2-addon').execute('yarn rollup -c ./rollup.config.mjs')

which seems reasonable ๐Ÿคท

Document the remaining classes

The Scenarios class is documented and pending review: #16

We need to document remaining classes. The amount of work left is small compared to what's already been done.

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.