Comments (3)
just two levels needed as per the other tests
from seneca-store-test.
@rjrodger How do we go about cases where deeper nesting is required? Like, for example, we are testing a #load$
method and there is a set of scenarios involving the method that we want to test separately. For each scenario there may be a set of subscenarios, and so on.
For example:
load$
with id
id is a string
id is null
id is a field in a query
without id
from seneca-store-test.
upgrading this to a release requirement
the upsert tests are too difficult to follow in the current format
instead of deeper nesting, use utility functions, or just cut and paste the setup code
see the existing test as an example
from seneca-store-test.
Related Issues (20)
- Add functionality to retrieve elements count HOT 2
- Functionality for matching strings by portion of a string (db agnostic pattern matching mechanizm)?
- add fields$ test
- The definition function for the plugin mongo-store has failed: Cannot read property 'init' of undefined HOT 2
- verify store always returns data from store when saving
- verify merge$ works
- Test the db API/module is working HOT 1
- Automatically generate a test db when running tests
- Convert use of Assert to lab
- Make CI pull various store plugins and run tests against them
- Remove fetchProp HOT 2
- improve test coverage to 80%+
- add github actions build HOT 3
- upsert happy path test HOT 4
- npm run reset fails
- github actions build is failing
- condense upsert tests into larger blocks of tests
- Fix a mysterious bug HOT 2
- remove chai
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 seneca-store-test.