Comments (7)
Yes, I need to fix that. What you need to do is start a shell and start the enet application, then run the tests.
from enet.
Could you give an example of which commands to run? If I try to google for erlang and tests I end up with the rebar line I posted above or some ct_run
stuff which seems to require a whole lot of parameters 😕.
from enet.
You should be able to do something like this:
$ rebar3 shell
===> Verifying dependencies...
===> Compiling enet
Erlang/OTP 21 [erts-10.0.8] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:0] [hipe] [dtrace]
Eshell V10.0.8 (abort with ^G)
1> application:ensure_all_started(enet).
{ok,[gproc,enet]}
2> eunit:test(enet_tests).
All 7 tests passed.
ok
from enet.
Ah thanks. I was attempting it with erl
directly...
from enet.
Hm... did this change?
Now I get:
2> eunit:test(enet_tests).
undefined
*** test module not found ***
**enet_tests
=======================================================
Failed: 0. Skipped: 0. Passed: 0.
One or more tests were cancelled.
error
when running eunit:test(enet_tests).
from enet.
Yes, I migrated the tests from EUnit to Common Test since they are not really unit tests.. You run them with rebar3 ct
like so:
$ rebar3 ct
===> Verifying dependencies...
===> Compiling enet
===> Running Common Test suites...
%%% enet_api_SUITE: ............
All 12 tests passed.
from enet.
Thanks :) Event better, the problem that I wanted to debug seems to have disappeared in latest master
:->
from enet.
Related Issues (9)
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 enet.