Comments (10)
Yup - @cpojer was on my case about this as well. We should take the scaffolding from his codemod repos, then use the changes to our tests as fixtures.
from rackt-codemod.
I've had success running tests with the following structure: https://github.com/joshblack/codemods/tree/master/test just adding in folders for tests as developers make issues on the repo. Any thoughts? Would love to help contribute to this repo and adding tests seems like a good start.
from rackt-codemod.
@joshblack Yeah, definitely! If you want to open a PR, that would be super duper helpful.
from rackt-codemod.
The setup from https://github.com/reactjs/react-codemod can literally be copy and pasted. A bunch of other forks use the same structure, it would be nice to keep some sort of consistency.
from rackt-codemod.
Sounds good, consistency is important.
from rackt-codemod.
Do we have example project files that the mods were ran against that I can start filling the test cases out with?
from rackt-codemod.
@joshblack The tests and examples on history and React Router, actually.
from rackt-codemod.
Perfect, thanks for the heads up!
from rackt-codemod.
Just wanted to give an update, currently working on this here: https://github.com/joshblack/rackt-codemod just have to add the history tests and I'll open up a PR.
from rackt-codemod.
Awesome!
from rackt-codemod.
Related Issues (4)
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 rackt-codemod.