Coder Social home page Coder Social logo

Comments (6)

shekar73 avatar shekar73 commented on June 26, 2024 1

@samhatoum ...any new view points to this approach regarding using Chimp for migration?. Thanks

from mantra.

arunoda avatar arunoda commented on June 26, 2024

Yes. I think this is important. I will try to migrate some apps and will
try to how it is.

I suggest others to do some experiments and share them here. So we could
work on a better migration doc.
On 2016 ජන 14, බ්‍රහස් at ප.ව. 11.47 Nata [email protected] wrote:

@arunoda https://github.com/arunoda I am assuming there will be lot of
existing apps that would like to transition in to Mantra specified
architecture. Most of the refactoring of the apps usually happen in a
phased manner to reduce the risk. I was wondering will there be guidelines
or spec details as how the existing app can take different refactoring
paths in to Mantra?


Reply to this email directly or view it on GitHub
#19.

from mantra.

shekar73 avatar shekar73 commented on June 26, 2024

In one of the previous projects we did a big refactor where we used the existing test suite as an entry point and guiding post. But the challenge in most Meteor projects would be, since the testing tools was not fully baked into Meteor eco-system, we need to come with different approaches to migrate.

@arunoda Do you think it would be better to create some basic test suite (even may be just the integration tests) first and then accomplish the migration in a phased manner? I mean atleast it would give some sense of control of the process...

from mantra.

arunoda avatar arunoda commented on June 26, 2024

I think it's better to do create some E2E tests and then migrate those parts. Possibly we could use Chimp like solution.

from mantra.

shekar73 avatar shekar73 commented on June 26, 2024

So then may be the starting point for an existing meteor app with no tests (which should be lot of apps in the Meteor eco-system :-) ), should be:

  • take a feature in the existing app,
  • create E2E test suite for that feature using Chimp
  • then migrate using Mantra spec guidelines
  • Then create unit and integration tests alongside the Modules using Enzyme as recommended in the spec.

Rinse and repeat for the next feature, Right??
I mean it is going to be time consuming but worth the effort in the end, I think, as it would mitigate the risk.

from mantra.

arunoda avatar arunoda commented on June 26, 2024

Yeah. That's a great approach.

On Fri, Jan 15, 2016 at 11:54 AM Nata [email protected] wrote:

So then may be the starting point for an existing meteor app with no tests
(which should be lot of apps in the Meteor eco-system :-) ), should be:

  • take a feature in the existing app,
  • create E2E test suite for that feature using Chimp
  • then migrate using Mantra spec guidelines
  • Then create unit and integration tests alongside the Modules using
    Enzyme as recommended in the spec.

Rinse and repeat for the next feature, Right??
I mean it is going to be time consuming but worth the effort in the end, I
think, as it would mitigate the risk.


Reply to this email directly or view it on GitHub
#19 (comment).

from mantra.

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.