Skip to content

Conversation

@ThomasF34
Copy link
Contributor

⚠️ depends on #14

What does this PR do ?

Add unit test for server controller.

Other changes

Fix the query made in getStatsAsync function : action was getLastStats while it should be getStats

@ThomasF34 ThomasF34 self-assigned this Jun 21, 2019
@ThomasF34 ThomasF34 changed the title Unit tests server controller Add unit tests for the server controller Jun 21, 2019
@codecov
Copy link

codecov bot commented Jun 21, 2019

Codecov Report

Merging #16 into 0-dev will increase coverage by 5.94%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##            0-dev      #16      +/-   ##
==========================================
+ Coverage   53.14%   59.08%   +5.94%     
==========================================
  Files          17       17              
  Lines         875      875              
  Branches      105      105              
==========================================
+ Hits          465      517      +52     
+ Misses        409      357      -52     
  Partials        1        1
Impacted Files Coverage Δ
Kuzzle/API/Controllers/ServerController.cs 100% <100%> (+100%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aee2e0a...7490579. Read the comment docs.

Copy link
Contributor

@scottinet scottinet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, there really was a cake.

@alexandrebouthinon
Copy link
Member

@ThomasF34 : You should now be able to rebase this branch on 0-dev

@ThomasF34 ThomasF34 force-pushed the unit-tests-server-controller branch from 6b20263 to 7490579 Compare June 24, 2019 09:58
@scottinet scottinet merged commit 493cba1 into 0-dev Jun 25, 2019
@scottinet scottinet deleted the unit-tests-server-controller branch June 25, 2019 08:09
@scottinet scottinet mentioned this pull request Jul 17, 2019
scottinet added a commit that referenced this pull request Jul 18, 2019
# [0.2.0](https://github.com/kuzzleio/sdk-csharp/releases/tag/0.2.0) (2019-07-17)


#### New features

- [ [#22](#22) ] Add Admin controller and unit tests   ([Shiranuit](https://github.com/Shiranuit))
- [ [#23](#23) ] Add Index Controller   ([alexandrebouthinon](https://github.com/alexandrebouthinon))

#### Enhancements

- [ [#14](#14) ] Fix optional parameters design   ([scottinet](https://github.com/scottinet))
- [ [#13](#13) ] Add unit tests for the collection controller   ([scottinet](https://github.com/scottinet))
- [ [#12](#12) ] Add unit tests for the auth controller   ([scottinet](https://github.com/scottinet))
- [ [#11](#11) ] Initialize unit tests project   ([scottinet](https://github.com/scottinet))

#### Others

- [ [#24](#24) ] Rewrite WebSocket class   ([scottinet](https://github.com/scottinet), [alexandrebouthinon](https://github.com/alexandrebouthinon))
- [ [#20](#20) ] Add documentation runner   ([Aschen](https://github.com/Aschen))
- [ [#18](#18) ] Add unit test for Realtime Controller    ([ThomasF34](https://github.com/ThomasF34))
- [ [#17](#17) ] Unit tests kuzzle class   ([Aschen](https://github.com/Aschen))
- [ [#16](#16) ] Add unit tests for the server controller   ([ThomasF34](https://github.com/ThomasF34))
- [ [#15](#15) ] Add unit tests for the document controller   ([scottinet](https://github.com/scottinet))
---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants