Comments (8)
Thanks for the pointer: Spek, Kotest, and plain JUnit5 seem to be the options here, the latter also provides extensive support for assertions and comes with a kotest-assertions-compiler extension, for mocking MockK looks interesting although its future seems a little unclear.
from candid-kt.
I'm unable to claim the ticket, please see the answers to How to assign issue to myself at Github? on Stack Overflow. Thanks.
from candid-kt.
Sorry, I did send you an invite.
from candid-kt.
So, this is happening - these tests are now failing for some reason (after I merged #18).
They say that expected program doesn't match the compiled one, but I checked them and they look identical to me.
from candid-kt.
I'm able to reproduce. I see that some types changed; that isn't visible in the string representation. I see that you made changes to 4 toString
methods, if I revert those I see that all but two tests fail, now with some meaningful difference in the string representation. I will have a look at those a little later...
from candid-kt.
With regards to conciseness, this test case is not a good representation of Spock; I need to find a better solution for instantiating the expect IDL program and types; I'm open to suggestions, regardless of the language used...
from candid-kt.
https://www.spekframework.org/ ?
from candid-kt.
Merge for #24 completes this ticket.
from candid-kt.
Related Issues (17)
- Add oneway functions
- Add retrieveAssets function
- Add imports
- Add future types
- Add type serializers tests
- Add value serializers tests
- Add comments to the parser
- Make it compatible with the 0.6.x dfx
- Upgrade to Kotlin 1.4
- Make serialization to take exactly one single memory allocation
- Improve code-generation tests
- Add credentials
- Support all status responses
- Make the main actor inherit a name of the file
- Fix the issue with variant/record short field types
- Enable tests from `IDLGrammarSpec.'positive single service with parameters #methodName'`
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 candid-kt.