Comments (6)
@tshemsedinov @aqrln here is one more alternative this time using jest
from metasync.
@tshemsedinov I propose we use tap for testing, it works well with asynchronous functions.
from metasync.
@nechaido yeah, I've used tap
and so far I like it the most among the existing testing frameworks. It has an extensive feature set (including testing asynchronous code like a charm, parallel and sequential tests, analyzing code coverage and virtually anything else you might need) yet maintaining simple and minimalistic API.
from metasync.
@nechaido @aqrln ok, we can try
@nechaido please prepare tap test for metasync.find()
and metasync.for().map()
from metasync.
@tshemsedinov @aqrln here are examples of tests using:
from metasync.
@nechaido I can see a few issues in your tests. Can you please raise PRs for them so that we can start the reviewing process right away? Opening and closing PRs is cheap, that's okay to land only one of those ;)
from metasync.
Related Issues (20)
- Bug in test/poolify-symbol HOT 1
- Migrate tests/ to metatests@^0.2.1 HOT 6
- Implement AsyncArray HOT 5
- Implement AsyncMap and AsyncSet HOT 2
- Doesn't assign an object context in do/chain
- Implement asyncMap function
- Implement AsyncIterator
- Implement counter HOT 2
- Unused `KeyCollector` and `DataCollector` HOT 1
- Implement `runIf()` function HOT 1
- Implement SharedMutex
- Implement QueuedMutex
- Implement TimedMutex
- Implement Web Locks API
- Drop `ArrayChain` HOT 2
- Decompose collector.class.js
- Refactor Do to class syntax
- Add Future implementation
- AsyncIterator tests fails HOT 2
- Unpredictable search result
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 metasync.