-
Upon testing a method that takes a callback function, to do some async operation, I use your library to create a spy:
```
type MySpy struct {
*spies.Spy
}
func (my *MySpy) Callback(res Ca…
-
The mocking in faketorio is useful, but it would be awesome if I could use the same API as in my busted tests: https://olivinelabs.com/busted/#spies-mocks-stubs
-
Looking back, it was a mistake to use mocha instead of jasmine. Mocha is extremely limited (it doesn't even include support for assertions or spys/mocking). In my experience, Jasmine is far superior…
-
I've wrote a Typescript transformer for `ucode` as well as typings so that one can write `ucode` code with strict typings. I've also wrote a test library with spies and stubs so that ucode projects ca…
-
- Set up test database created at runtime
- Eg tests that creation fails if a field is missing
- Using frameworks mocha and chai
- Start familiarizing yourself with the testing concepts of "mocking…
-
**Summary**
This is a fix for this issue
When running a single test that has many test cases the error messages are printed before the list of failing/passing tests which makes us to scroll up e…
-
should mocking functionality be a part of this project?
Does it make sense to create a single library with all testing means combined together?
What is the difference between spies mocks, stubs Fake…
-
Right now, the user is asked to confirm unsaved changes or the deletion of an object with a standard JavaScript dialog. This is very annoying to test because even when using spies, the tester has to m…
-
Some things on our current mocha test setup:
1. There are quite a few lines of code that are duplicated in almost every spec.ts file.
2. Some things sometimes seem to bleed through into other test s…
-
### Description
While `@InjectMock Session` works fine to mock the Hibernate ORM session, oddly `@InjectMock EntityManager` doesn't, even if a given test only uses `EntityManager` (e.g. using Panache…