Giter Site home page Giter Site logo

percygrunwald / exercism-elixir Goto Github PK

View Code? Open in Web Editor NEW

This project forked from exercism/elixir

0.0 2.0 0.0 877 KB

Exercism exercises in Elixir.

Home Page: http://exercism.io/languages/elixir

License: MIT License

Elixir 99.78% Shell 0.22%

exercism-elixir's Introduction

Exercism Elixir Track

build status

Exercism Exercises in Elixir

Setup

The exercises currently target Elixir 1.6 and Erlang/OTP 20. Detailed installation instructions can be found at http://elixir-lang.org/install.html.

Contributing

Thank you so much for contributing! ๐ŸŽ‰

We welcome pull requests that provide fixes and improvements to existing exercises. If you're unsure, then go ahead and open a GitHub issue, and we'll discuss the change.

Please keep the following in mind:

  • Please start by reading the general Exercism contributing guide.

  • Pull requests should be focused on a single exercise, issue, or change.

  • We welcome changes to code style, and wording. Please open a separate PR for these changes if possible.

  • Please open an issue before creating a PR that makes significant (breaking) changes to an existing exercise or makes changes across many exercises. It is best to discuss these changes before doing the work.

  • Follow the coding standards found in The Elixir Style Guide.

  • Watch out for trailing spaces, extra blank lines, and spaces in blank lines.

  • Each exercise must stand on its own. Do not reference files outside the exercise directory. They will not be included when the user fetches the exercise.

  • Each problem should have a test suite, an example solution, and a template file for the real implementation. The example solution should be named example.exs.

  • Use typespecs in the example and template files as described here.

  • Each test file should have code like the following at the top of the file. This allows the tests to be run on CI and configures tests to be skipped with the :pending flag.

if !System.get_env("EXERCISM_TEST_EXAMPLES") do
  Code.load_file("bob.exs", __DIR__)
end

ExUnit.start
ExUnit.configure exclude: :pending, trace: true
  • All but the initial test for each exercise should be tagged :pending.
@tag :pending
test "shouting" do
  assert Bob.hey("WATCH OUT!") == "Whoa, chill out!"
end

All the tests for Exercism Elixir Track exercises can be run from the top level of the repo with $ mix test. Please run this command before submitting your PR. Watch out for and correct any compiler warnings you may have introduced.

exercism-elixir's People

Contributors

parkerl avatar rubysolo avatar devonestes avatar kytrinyx avatar dalexj avatar petehuang avatar doggettck avatar jimmbraddock avatar henrik avatar bernardoamc avatar pminten avatar robphoenix avatar teapane avatar martinsvalin avatar elasticdog avatar andrewtimberlake avatar jedschneider avatar lpil avatar angelikatyborska avatar cohen-carlisle avatar drueck avatar britto avatar petertseng avatar coderdennis avatar scientifica96 avatar awochna avatar veelenga avatar tejasbubane avatar nobbz avatar marcosx avatar

Watchers

James Cloos avatar Percy Grunwald avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.