Spaceship-prompt: Tests: Coverage

Created on 29 May 2018  Â·  4Comments  Â·  Source: denysdovhan/spaceship-prompt

457 introduced some tests for lib modules and main sections, like dir, host, user and char. More tests are yet to come.

I hope this issue are gonna help new contributors.

Tests

Here's a list of sections that should be covered with tests:

  • [x] lib

    • [x] lib/hooks

    • [x] lib/section

    • [x] lib/utils

  • [ ] sections

    • [ ] aws

    • [ ] battery

    • [x] char

    • [ ] conda

    • [x] dir

    • [ ] docker

    • [ ] dotnet

    • [ ] elixir

    • [x] elm

    • [ ] ember — probably gonna be moved out of the Spaceship

    • [ ] exec_time

    • [ ] exit_code

    • [ ] git

    • [ ] git_branch

    • [ ] git_status

    • [ ] golang

    • [ ] haskell

    • [ ] hg

    • [ ] hg_branch

    • [ ] hg_status

    • [x] host

    • [ ] jobs

    • [ ] julia

    • [ ] kubecontext

    • [ ] line_sep

    • [ ] node

    • [ ] package

    • [ ] php

    • [ ] pyenv

    • [ ] ruby

    • [ ] rust

    • [ ] swift

    • [ ] time

    • [x] user

    • [ ] venv

    • [ ] vi_mode

    • [ ] xcode

good first issue help-wanted improvement

Most helpful comment

Hi, I'd like to work on this one. I'm thinking on picking up the vi_mode tests

All 4 comments

Hi, I'd like to work on this one. I'm thinking on picking up the vi_mode tests

That would be great @rodrigo-garcia-leon

Let's require all of the new sections to have tests before merging them.

I also think it's a good idea to have tests for install and uninstall script.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

oldchevy picture oldchevy  Â·  3Comments

maccius picture maccius  Â·  3Comments

martincartledge picture martincartledge  Â·  4Comments

olets picture olets  Â·  3Comments

gillesdemey picture gillesdemey  Â·  3Comments