Continuous integration server for Erlang code

前端 未结 4 549
后悔当初
后悔当初 2021-02-09 12:37

What kind of agile tools are you using for Erlang development? What continuous integration (CI) server are you using to build Erlang code? The only reference I got was from Quor

相关标签:
4条回答
  • 2021-02-09 12:52

    We use buildbot with our own recipes to hook unit tests.

    0 讨论(0)
  • 2021-02-09 13:13

    As a company using Erlang actively, Klarna (www.klarna.com) use Jenkins (formerly Hudson) for daily regression test on nearly every dev commit. It's an org with about 80 people total in rnd and we use distribute mode of Jenkins which allows us to have more than 10 build slaves mastered by only one Jenkins server. Basically we have a code base with Eralng code which is version controlled by tools like svn or git. All these testcases are under common test framework and all works well under Jenkins.

    Previously, we tried Cruise Control and gave it up since Jenkins does much better.

    As Lukas mentioned, you probably will need a tool to gen xml files sine common test doesn't export them directly. Haven't really tried that module though, we do have an implementation of common test event handler to do the job, but it was abandoned due to performance, we do have a a critical requirement on test time. right now, we use a own made script to export xml from common test log directly.

    There are a lot more you could do with Erlang and Jenkins, like code coverage analyze if you compile properly and export formatted xml to Cobertour plugin, gui test with selenium etc.

    For setting up Jenkins, I think Jenkins home page has a good introduction.

    Regarding agile tools, I guess it's really hard to define what a agile tool. Also what I believe is it's very much depend on the size of you org. You will probably need a good process view tool (team level or depart level), a good ticket tracking tool, code review tool, communication tool. There are bunch of them implemented under open source. According to our exp, none of them seems to be able to work seamlessly with Jenkins which means you will need to select and tweak by your own requirement. BUT that's the beauty of open source isn't it :)?

    0 讨论(0)
  • 2021-02-09 13:16

    If you want to do it using Jenkins, I have written a common test hook which generates JUnit XML output for your tests which Jenkins can use to produce test statistics.

    https://github.com/garazdawi/cth_tools/blob/master/src/cth_junit.erl

    0 讨论(0)
  • 2021-02-09 13:17

    We use Jenkins for our Python code, so I think you may use Jenkins with Erlang code.

    0 讨论(0)
提交回复
热议问题