-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor to allow unit testing and add first unit tests #231
Conversation
mrow4a
commented
Nov 17, 2018
•
edited
Loading
edited
- Refactor Application and add unit tests for it
- Adjust to use drone and travis
- Remove not needed sharing legacy code
f21ff13
to
cd9acf1
Compare
58d92e1
to
5bb577c
Compare
Codecov Report
@@ Coverage Diff @@
## master #231 +/- ##
===========================================
+ Coverage 0% 5.23% +5.23%
- Complexity 286 294 +8
===========================================
Files 19 15 -4
Lines 1283 1146 -137
===========================================
+ Hits 0 60 +60
+ Misses 1283 1086 -197
Continue to review full report at Codecov.
|
Can we have this merged as a start for the unit tests and code refactor with target on version |
Can we also after this PR disable travis? |
Please rebase on the current master, they have been test related changes. E.g phpunit.xml was shifted to the root folder and the make file has more stuff in it |
I think @mrow4a rebased. Regarding the Maybe @individual-it @phil-davis can explain. |
I made PR owncloud/password_policy#166 to propose moving |
And I guess unit tests should be in a folder called @DeepDiver1975 @PVince81 please advise on "standard" unit test folder and XML file so we can do it "right" the first time, and avoid having apps with all different test folder structures. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice first approach - THX
Please adapt the comments
Keep it up!
78b71b7
to
6e4b78c
Compare
@@ -10,9 +10,7 @@ | |||
</script> | |||
|
|||
<?php | |||
style( 'richdocuments', 'share' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed share.js as not needed @DeepDiver1975
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Meaning not used anywhere - was probably used by some legacy code back 2 years ago
6e4b78c
to
360fd7f
Compare
6503a1c
to
b78caa0
Compare
b78caa0
to
434ac79
Compare
434ac79
to
468f910
Compare
@skshetry @DeepDiver1975 PR is ready for merging |
I see travis still in here - migration to drone not yet finished? |
@DeepDiver1975 maybe we can make it scope of another PR? |
@skshetry do you want to take care in follow-up PR? |
Sorry, accidentally closed this. Looks good to me. Let @DeepDiver1975 approve this. And, regarding removing the travis, I'll make a PR for that shortly. |