Commit Graph
55 Commits
Author SHA1 Message Date
Philip Wood 8d5c5341eb Turn some of the rules back on. 2018-03-06 11:54:56 +00:00
Philip Wood ea95690253 Fix remaining CS0649 violations 2018-03-06 11:13:02 +00:00
Philip Wood b8e95373a4 Fix async/await warnings 2018-03-06 10:59:01 +00:00
Philip WoodandGitHub a53338312b Merge pull request #255 from binarymash/feature/AddStyleCopAnalyzers
Feature/add style cop analyzers
2018-03-03 17:10:44 +00:00
Philip Wood 52166b4987 Merge remote-tracking branch 'upstream/release-3.1.8' into feature/AddStyleCopAnalyzers
# Conflicts:
#	src/Ocelot/Configuration/ServiceProviderConfiguration.cs
2018-03-03 16:28:19 +00:00
Philip Wood 01fe4ef9aa Turn off a few more rules 2018-03-03 14:15:39 +00:00
Philip Wood 50980fda93 Fix various violations
SA1216, CS0105, CS0169, CS0414, CS0649
2018-03-03 14:08:52 +00:00
Philip Wood a64e263a26 Fix file names to match class names
SA1649
2018-03-03 13:48:30 +00:00
Philip Wood c7dbfc044f Fix else statement spacing
SA1510
2018-03-03 13:36:09 +00:00
Philip Wood b18c8e5f2b Fix single-line comment spacing
SA1512, SA1515
2018-03-03 13:34:19 +00:00
Philip Wood f24c0a0510 Fix multiple statements on single line
SA1107
2018-03-03 13:29:05 +00:00
Philip Wood 167fbb3daf Remove multiple concurrent blank lines
SA1507
2018-03-03 13:26:27 +00:00
Philip Wood edbed051de Remove blank lines at start/end of files
SA1517, SA1518
2018-03-03 13:16:26 +00:00
Philip Wood c61dc9fd11 Fix brace line spacing and remove multiple concurrent whitespace characters
SA1025, SA1505, SA1508, SA-1509, SA1513
2018-03-03 13:14:24 +00:00
Philip Wood 28a41b21a4 Merge remote-tracking branch 'upstream/develop' into feature/AddStyleCopAnalyzers
# Conflicts:
#	test/Ocelot.AcceptanceTests/Ocelot.AcceptanceTests.csproj
#	test/Ocelot.Benchmarks/Ocelot.Benchmarks.csproj
2018-03-03 12:33:04 +00:00
Philip Wood 9f458a878b Disable all but the least contentious rules 2018-02-25 15:47:13 +00:00
Philip Wood df86052a31 Add stylecop analyzers with default ruleset 2018-02-25 14:36:33 +00:00
Philip WoodandTom Pallister 194f76cf7f #177 - optimise the build scripts (#178)
* Remove explicit restore, and don't rebuild during tests.

This currently fails because the release config doesn't contain symbols needed by opencover.

* Build unit tests in debug

Turns out that for test coverage we need to have debug symbols.
2017-12-18 22:11:17 +00:00
Philip Wood 15827c2e45 Delete unused file 2017-07-18 22:57:00 +01:00
Philip Wood bd6d4e81bf Upped minimum unit test coverage threshold 2017-07-18 12:10:13 +01:00
Philip Wood de5ae05bd6 Refactor ExceptionHandlerMiddleware tests to use base class. 2017-07-18 11:57:48 +01:00
Philip Wood ca4efa5e10 Back out of some of the functional changes to the ResponderMiddleware tests... I'll look at these again once the consolidation changes are merged. 2017-07-18 11:11:24 +01:00
Philip Wood d02e921a58 Moved ScopedRepository into test base class. 2017-07-18 10:53:57 +01:00
Philip Wood c70a90f415 Fix more test-related build warnings 2017-07-18 10:20:59 +01:00
Philip Wood 84743ede0e Fix some test-related build warnings 2017-07-18 09:31:26 +01:00
Philip Wood 8042bbab2c Moved common middleare test setup into a base class 2017-07-18 09:28:32 +01:00
Philip Wood b0c12431d6 Added test coverage around responder middleware, and refactored these to not use test server. 2017-07-11 18:45:53 +01:00
Philip Wood f452e8ea86 Fixes to get build running again on macOS. Basically, re-applying changes from #41 2017-05-10 21:23:36 +01:00
Philip WoodandGitHub 64814358fa Merge pull request #96 from binarymash/feature/testCoverage
Test coverage reporting
2017-05-09 20:38:56 +01:00
Philip Wood e9ab5d64ea Not sure how I missed the acceptance test xunit update on the last commit. And, improve logging around test coverage. 2017-05-09 20:33:21 +01:00
Philip Wood 944e96c4f8 update to latest xunit prerelease 2017-05-09 19:44:47 +01:00
Philip Wood 28de6f2fbf Oops. Forgot to do this switcheroo after testing locally. 2017-05-09 13:06:54 +01:00
Philip Wood 0507806aae Rough first go at test coverage. Might need tidying up. 2017-05-06 17:53:44 +01:00
Philip Wood 80e728aa00 Made changes based on PR comments. Also added lots more tests! 2017-04-19 20:12:08 +01:00
Philip Wood 878eacf1db Remove obsolete code 2017-04-18 15:35:54 +01:00
Philip Wood a1c6ab4ce4 Get rest of unit tests working 2017-04-18 15:16:27 +01:00
Philip Wood 7c1a277147 Fixed some unit tests 2017-04-18 14:05:15 +01:00
Philip Wood 8b93f44077 Fix request id middleware 2017-04-18 11:05:37 +01:00
Philip Wood da922c0e04 Initial mapping of request 2017-04-18 10:13:10 +01:00
Philip Wood eeb8f691c7 Very hacky proof of concept 2017-04-17 21:25:04 +01:00
Philip Wood f1a403ae29 Fix package publishing 2017-02-19 20:56:05 +00:00
Philip Wood 3c9ad87b73 Fix cake on Mac. Also added compile-time support for OSX.10.12-x64. The acceptance tests still fail on this version of OS X, however, because of the funky stuff going on in TestConfiguration.cs. Fixing this is outside the scope of this issue. 2017-02-19 15:03:11 +00:00
Philip Wood 4ad8accbc0 grr! I always miss something... 2017-02-15 20:30:35 +00:00
Philip Wood 45341df237 Remove extra level of indentation. Fixed a typo in one of tje json examples 2017-02-15 20:18:15 +00:00
Philip Wood 0b4aee7b96 Add syntax highlighting to readme.md 2017-02-15 20:12:47 +00:00
Philip WoodandGitHub 385c8997af Merge pull request #1 from binarymash/feature/gitversion_config
#20 - add gitversion config
2017-01-29 18:25:34 +00:00
Philip Wood 727dbb5f7d #20 - add gitversion config 2017-01-29 18:19:16 +00:00
Philip Wood 17dac3d3a2 #20 - added readme for build and release process. 2017-01-29 16:16:08 +00:00
Philip Wood 33854067d4 #20 - Tidy up. Update command line scripts. Fix running benchmarks. 2017-01-29 15:14:31 +00:00
Philip Wood e4a22e57d7 #20 - fix download of github release tags 2017-01-29 14:10:49 +00:00
Philip Wood 0172950dab #20 - added release notes to repo 2017-01-29 13:47:59 +00:00
Philip Wood b50d2b1aca #20 - remove obsolete file 2017-01-29 13:17:57 +00:00
Philip Wood e747d3386a #20 - add release scripts 2017-01-29 13:00:50 +00:00
Philip Wood 93ebb6a0d3 #20 - bump commit 2017-01-24 21:27:25 +00:00
Philip Wood 2cd69d1908 #20 - added cake build to do same functionality as batch scripts. Also does semver versioning of assemblies, if running in AppVeyor, generates release notes and publishes packages to appveyor. 2017-01-24 21:11:15 +00:00