Comments (9)
Would be good to have some tests, probably based on puppeteer and Browserstack.
from immortaldb.
Sorry, for the delay in my response.
I have experience on Jest no Puppeteer.
I can start working in some jest tests and leave the door open for Puppeteer if someone else likes to take that task.
from immortaldb.
Afaik there is jest-puppeteer to simplify the integration.
from immortaldb.
https://www.npmjs.com/package/jest-puppeteer
from immortaldb.
Thus far, I've run a simple webserver in the root directory
$ http-server -p 5050 &
$ google-chrome "http://localhost:5050/testing/test.html"
and tested manually via testing/test.html
. This is, obviously, boorish.
IronDB needs automated tests.
Until I get around to this, pull requests graciously welcome.
from immortaldb.
IIn the PR I did for using lodash functions instead of the whole library, I added a webpack-server to make the test in the browser easier using npm run serve.
I can add that again if you want.
Also we can add another set of unit tests using jest and then add the tests using puppeteer.
That's my thought at least.
Let me know. If that works.
from immortaldb.
IIn the PR I did for using lodash functions instead of the whole library, I
added a webpack-server to make the test in the browser easier using npm run
serve. I can add that again if you want.
I saw that. That was great. So great, I added it back out of band.
Thank you.
Also we can add another set of unit tests using jest and then add the tests
using puppeteer. That's my thought at least. Let me know. If that works.
That would awesome; ImmortalDB needs automated tests.
Do you have experience with Jest and/or Puppeteer? Would you be able to start on
such tests?
from immortaldb.
I can start working in some jest tests and leave the door open for Puppeteer
if someone else likes to take that task.
Awesome. Tests will be sick.
I have no experience with Jest nor Puppeteer, but let me know if/where I can
help provide input.
from immortaldb.
Until automated tests have been built, the webpack-dev-server
can be started,
and the test page testing/test.html
automatically opened, with:
$ npm start
from immortaldb.
Related Issues (20)
- 😮 WOW! HOT 1
- Add eslint and prettier HOT 4
- how to handle expired mechanism HOT 7
- SSR compatible HOT 6
- Option to remove all cookies set with ImmortalDB HOT 5
- I wouldn't recommend using SessionStorage HOT 3
- Ideas for additional persistent storage HOT 3
- Support for KV Storage HOT 2
- Reset database HOT 4
- Undefined should not be counted as value? HOT 2
- We don't use NPM or any module manager, so am getting "Cannot use import statement outside a module".... HOT 3
- Events HOT 6
- Add testing how-to snippet to the readme
- Set the SameSite attribute of saved cookies HOT 1
- Indexed DB HOT 1
- Differentiate a user-stored `'undefined'` from a deleted key with a sentinel value
- Use JSDoc HOT 3
- Synchronous get / set? HOT 1
- Size limit HOT 1
- Nextjs window is not defined error HOT 7
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 immortaldb.