Comments (8)
@rawkode assume. i just sent you an invite to be part of our "contributor" team. it doesn't give you much in the way of privileges but does allow for you to appear in the "Assignee" list and be assigned to issues you are interested in working on. Baby steps towards committer!
from pony-stable.
@jemc @Theodus any thoughts on what automated tests for stable would look like?
from pony-stable.
Maybe it could be an integration test that sets up an example bundle.json
that clones its own repo (pony-stable
), and imports some types to prove that it worked?
from pony-stable.
@jemc i was just thinking the same thing. and then compile the program with stable env ponyc
.
we can verify
- bundle file is correct after the
add
(this could be expanded for each type eventually) - stable env ponyc compiles program
eventually i think we'd want to test other features like
tag
local-git
github
- stable add
from pony-stable.
@rawkode any interest in this one? it's a little more advanced but probably manageable as a start. there's a bit of "how much can we use ponytest for" (a lot see https://github.com/ponylang/changelog-tool/blob/master/tests/main.pony tests)? and some would have to be some kind of automated integration test(s), so there's a bit of complication but its pretty straightforward. if you are interested, i'd say drop idea here for tests and what the runner would be and @jemc and I could give feedback.
from pony-stable.
@SeanTAllen Yeah, I'll look at what I can do and come back with a plan 👍
from pony-stable.
So this is pretty tough.
My initial thought is that we need a JSON Schema that will evolve with the tool and provide a means of documenting the format for other integrations; as well a confidence that stable conforms with said schema.
From what I can tell, we could probably use ponytest for arbitary comparison tests, but it wouldn't be pretty and we'd need to provide the json
for comparison. Which means, in order for the test not to be flaky, we need to add branching/tag/commit sha support to stable add
assert_eq("json", loaded_bundle.json)
Hopefully any assumptions I've made are correct 😄
from pony-stable.
I'll try pushing this forward. #70 gets some scaffolding in place, leaving open the following test TODOs:
-
stable fetch
-
stable add
-
stable env
: #73
from pony-stable.
Related Issues (20)
- git submodules are not initialized on fetch
- Remove usage of `regex`
- Turn "regex" code back on in integration test
- Release 0.2.1 HOT 8
- Remove extra apt-get calls in circleci config
- Revisit how version is set HOT 2
- Update release process and release script to add new features
- Get a release into cloudsmith so ponyup works
- Appveyor setup doesn't trigger release
- Update Linux installation instructions
- Tack - 0.1.0 release HOT 3
- pony-stable Arch package seems broken for some CPUs HOT 3
- illegal hardware instruction HOT 3
- Add FreeBSD support
- "integration.Env(invalid bundle.json in nested dir)" test periodically fails HOT 3
- Release 0.1.5 and 0.1.6 HOT 19
- Release 0.2.0 HOT 15
- Use `cli` package to define the command line instead of deprecated `options` package HOT 1
- Syntax errors when trying to build from source on Windows 10 HOT 4
- Builds that contain cyclic dependencies cause an infinite loop HOT 2
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 pony-stable.