Open source Phoenix applications with tests to learn from

Hello, I’m trying to get more and more into testing, however it’s always a plus to see how others are doing it.

Please share the projects you know use Phoenix and have tests so we (or at least I) can learn from.

Thank you for your time!

2 Likes

HI,

I would suggest to try to look on the tests from the most popular hex packages. Probably this is the best source of the inspiration. On the other hand you can find some inspiration from those projects:

Enjoy \o/ \o/ \o/

7 Likes

we’re in the process of updating our test suite [1] but in general I think hex.pm codebase [2] is a pretty good place to see some real word Elixir/Phoenix production & test code as well.

[1] https://github.com/hexpm/hex_web/issues/271
[2] https://github.com/hexpm/hex_web

3 Likes

Here is a similar post that already contains some links:

2 Likes

Checkout https://github.com/ember-weekend/ember-weekend-api

It has a REST API that uses the jsonapi spec with quite a lot of tests to cover it

3 Likes

@oxyrus - great question. My goal is to get better at testing too, and I’m glad you’ve asked this. Any suggestions for someone about 6 months behind you on this topic?