Comments (6)
@samhatoum ...any new view points to this approach regarding using Chimp for migration?. Thanks
from mantra.
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.
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.
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.
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.
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)
- Correct Way to Install a Bootstrap Theme? HOT 3
- Controllers and server-side context HOT 3
- Where is the best place to put your initial states with Reactive Dict/Local State HOT 1
- Unable to sign up /login on Mantra talk HOT 4
- should we use sub-manager for mantra ? HOT 2
- A linter for Mantra
- Accounts.onPasswordResetLink .... where??
- Dead link for Mantra live demo HOT 2
- Support Apollo HOT 1
- Meteor/MiniMongo is Local State HOT 1
- Global Subscription HOT 6
- Issue with re-rendering on Google Chrome Android (Moblie)
- Meteor methods in lib folder HOT 1
- Problem with Routing and Alert
- More intuitive react component naming convention HOT 4
- Ability to module-namespace actions HOT 13
- Issue with Mobile HOT 1
- how to get REF of containers component
- Clarify module meaning HOT 5
- Problems with @storybook/mantra-core and react-komposer@2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mantra.