[bisq-network/bisq] Add API test harness for Linux (#4366)

Stan notifications at github.com
Thu Jul 16 15:11:50 UTC 2020


> * how hard is it to make it cross-platform? Just converting the .sh scripts or something more?

1-2 days of work, I estimate -- for someone with a Windows machine.   Right now, there are 22 in-line bash commands executed from Java (only 1 separate `.sh` script ).   To work on Windows, the `bisq.apitest.linux.BashCommand` would need to be ported to `bisq.apitest.windows.WindowsCommand`, and 22 `BashCommands` would need to be ported to `WindowsCommands`.  

 I would be surprised if this did not already work on OSX if bash is on the system. 

> how hard is it to integrate this into travis ?

Not hard.  I intend to configure the `ApiTestMain` driver to run all or various combinations of tests based on program args;  travis would just need to run the gradle generated script `bisq-apitest  <options>` .  It would not be hard to set up travis to run any set of tests, something like

    bisq-apitest  --tests=bisq.apitest.method.Test1,bisq.apitest.method.Test2
    bisq-apitest  --tests=e2e
    bisq-apitest  --tests=all




-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4366#issuecomment-659476765
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200716/af4ce2a0/attachment.html>


More information about the bisq-github mailing list