jdesilvio / pin-bin-api

A Phoenix API to save places of interest
Apache License 2.0
0 stars 0 forks source link

Increase test coverage #7

Closed jdesilvio closed 6 years ago

jdesilvio commented 6 years ago

Starting coverage

Finished in 0.2 seconds
17 tests, 0 failures

Randomized with seed 285215
----------------
COV    FILE                                        LINES RELEVANT   MISSED
 75.0% lib/blaces.ex                                  31        4        1
  0.0% lib/blaces/endpoint.ex                         42        0        0
 50.0% lib/blaces/factory.ex                          21        6        3
  0.0% lib/blaces/repo.ex                              3        0        0
  0.0% test/support/channel_case.ex                   43        4        4
100.0% test/support/conn_case.ex                      44        4        0
 66.7% test/support/model_case.ex                     65        6        2
  0.0% web/auth/auth.ex                               64       24       24
 66.7% web/auth/current_user.ex                       19        3        1
  0.0% web/auth/guardian_error_handler.ex              9        1        1
100.0% web/auth/guardian_serializer.ex                12        1        0
  0.0% web/channels/user_socket.ex                    37        0        0
  0.0% web/controllers/auth_controller.ex             26        8        8
  0.0% web/controllers/bucket_controller.ex           98       29       29
  0.0% web/controllers/elm_controller.ex               7        1        1
100.0% web/controllers/page_controller.ex              7        1        0
  0.0% web/controllers/pin_controller.ex             104       36       36
  0.0% web/controllers/session_controller.ex          29        5        5
  0.0% web/controllers/user_controller.ex             34        9        9
  0.0% web/controllers/yelp_controller.ex             32        9        9
  0.0% web/gettext.ex                                 24        0        0
  0.0% web/inspect_conn.ex                            17        3        3
100.0% web/models/bucket.ex                           26        2        0
100.0% web/models/pin.ex                              25        2        0
 16.7% web/models/user.ex                             53        6        5
 40.0% web/router.ex                                  86        5        3
100.0% web/views/auth_view.ex                          8        1        0
100.0% web/views/bucket_view.ex                       15        5        0
  0.0% web/views/elm_view.ex                           3        0        0
  0.0% web/views/error_helpers.ex                     40        5        5
100.0% web/views/error_view.ex                        21        2        0
  0.0% web/views/layout_view.ex                        3        0        0
  0.0% web/views/page_view.ex                          3        0        0
  0.0% web/views/pin_view.ex                          15        5        5
  0.0% web/views/session_view.ex                       3        0        0
100.0% web/views/user_view.ex                         14        4        0
  0.0% web/views/yelp_view.ex                         11        2        2
  0.0% web/web.ex                                     81        1        1
[TOTAL]  19.1%
----------------
jdesilvio commented 6 years ago

Current coverage

Finished in 25.7 seconds
40 tests, 0 failures

Randomized with seed 962982
----------------
COV    FILE                                        LINES RELEVANT   MISSED
 75.0% lib/blaces.ex                                  31        4        1
  0.0% lib/blaces/endpoint.ex                         42        0        0
100.0% lib/blaces/factory.ex                          36       13        0
  0.0% lib/blaces/repo.ex                              3        0        0
  0.0% test/support/channel_case.ex                   43        4        4
100.0% test/support/conn_case.ex                      51        4        0
 66.7% test/support/model_case.ex                     65        6        2
 62.5% web/auth/auth.ex                               64       24        9
 66.7% web/auth/current_user.ex                       19        3        1
  0.0% web/auth/guardian_error_handler.ex              9        1        1
100.0% web/auth/guardian_serializer.ex                12        1        0
  0.0% web/channels/user_socket.ex                    37        0        0
 87.5% web/controllers/auth_controller.ex             26        8        1
 89.7% web/controllers/bucket_controller.ex          100       29        3
  0.0% web/controllers/elm_controller.ex               7        1        1
100.0% web/controllers/page_controller.ex              7        1        0
 94.4% web/controllers/pin_controller.ex             104       36        2
 60.0% web/controllers/session_controller.ex          29        5        2
100.0% web/controllers/user_controller.ex             34        9        0
  0.0% web/controllers/yelp_controller.ex             32        9        9
  0.0% web/gettext.ex                                 24        0        0
  0.0% web/inspect_conn.ex                            17        3        3
100.0% web/models/bucket.ex                           26        2        0
100.0% web/models/pin.ex                              25        2        0
100.0% web/models/user.ex                             53        6        0
 80.0% web/router.ex                                  86        5        1
100.0% web/views/auth_view.ex                          8        1        0
100.0% web/views/bucket_view.ex                       15        5        0
  0.0% web/views/elm_view.ex                           3        0        0
 80.0% web/views/error_helpers.ex                     40        5        1
100.0% web/views/error_view.ex                        21        2        0
  0.0% web/views/layout_view.ex                        3        0        0
  0.0% web/views/page_view.ex                          3        0        0
  0.0% web/views/pin_view.ex                          15        5        5
  0.0% web/views/session_view.ex                       3        0        0
100.0% web/views/user_view.ex                         14        4        0
  0.0% web/views/yelp_view.ex                         11        2        2
  0.0% web/web.ex                                     81        1        1
[TOTAL]  75.6%
----------------