Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/nunit/nunit.analyzers
Roslyn analyzers for writing unit tests with NUnit
https://github.com/nunit/nunit.analyzers
b9e238e7dea5c876d48ccad1baa0d2525dfd9753 authored about 6 years ago
cf7fdcb03b5cd0c2e1ecab2c97b468802a46b01b authored about 6 years ago
Temporarily keeping both `TestHelpers.GetRootAndModel` and `TestHelpers.GetRootAndModelFromString`.
14ef45e76d9ef670697fe62fc0fb48b696e1a8b3 authored about 6 years agoRemove unused methods
4b204e3c5b17a01bd83321f33768d74f46878afd authored about 6 years ago08384a66ff7d63d14848d93bce67cf7a64c865be authored about 6 years ago
Transfer ClassicModelAssertUsage tests to Gu.Roslyn.Asserts
d8b6f1c25083b71be182f39a75926d34c8bf9e12 authored about 6 years ago
One test `AnalyzeWhenDiagnosticIssuesExist` was removed as it did
not provide much value and was...
Rewrite tests of CodeFixes with Gu.Roslyn.Asserts
d24bae137625cbc7d27a5e7400d9c61996deeec9 authored about 6 years agoRelates to #70
b219d2e0c931607a4744094ace42908353ef34bc authored about 6 years agoHandle special case when the sole method parameter is an object array
458ad771541e8d1365b58343c9b8b95843ca77e7 authored about 6 years ago
TestCaseAttribute.GetParametersForTestCase has special handling of
test methods with a sole para...
Add analyzer for ParallelizableAttribute
8632996f26dc7b1bda91ce56a7de8319c3dc25dd authored about 6 years agoReplace tuples with named tuples
c52fe9b5e59f8fa62567a1594393f6d50f76624a authored about 6 years agof2c2cc8bcfd3954448b2afc42775482b724754f0 authored about 6 years ago
Verifies and reports the following:
* (Warning) ParallelScope.Self on assembly level as it has n...
Replace manual lookup of value of parameter in attribute with GetConstantValue
7174ad15d974496a4752ca53d2625fa18ba46751 authored about 6 years agoThis ensure us that we can get the correct constant value in all cases.
9323c6c050ae137518fcd7e02919071612cd071a authored about 6 years agoAdd analyzer for non void return type but no ExpectedResult
57c83ee56248c630ced96abf7bcdc581dbf2976e authored about 6 years agofa378c0945341e0f24ddf3d913294c359c7bf849 authored about 6 years ago
Upload test results to AppVeyor when run on AppVeyor
7342a076328503813ddead6df3764ac8769c26a9 authored about 6 years agoa7ee4146a9bde555b5bfd2c73ca33d04d2707df1 authored about 6 years ago
Simplify TestMethodUsageAnalyzerTests and TestCaseSourceUsesStringAnalyzerTests
5c99b52151e1f7c3ec209eb7ae46d4f7b779b0a3 authored about 6 years agoMoved helper functionality to TestUtility
a8f67887a48423ea83fb3ed526209b1478154137 authored about 6 years agoSimplify TestCaseUsage tests
afc5f44ec25a97331ba35c3fb71df04645d44af5 authored about 6 years agoTo make the code in the tests easier to read.
66734ea7224782c957cd761beba0412ad84745f9 authored about 6 years agoReplace handwritten handling of assertions with Gu.Roslyn.Asserts.
ff6e6fe56cbbf729f36a6d67dad8af4492d53c79 authored about 6 years agoGive all analyzers unique identifiers
11b30aff05f0652d8697dc34f3faf0aa7ddd9813 authored about 6 years ago
In order to use Gu.Roslyn.Asserts to make tests more succient, and
also to reduce the "magic" in...
Add Analyzer for TestCaseSource(StringConstant)
8e30ab0340b3c34872b6310f0fa3891b0f10df9c authored about 6 years agoaaa3144875e26b79045349ed35530f9999b5b15b authored about 6 years ago
b0495bbe5d43a2ece55f342a3d0f1eff15868162 authored about 6 years ago
04659398450ab57ddd35180e6453db42f83e9c33 authored about 6 years ago
Add initial class for test method analyzer
4830ee835f5fe9514f5f3ba47161354c249897c3 authored over 6 years ago
Add skeleton for analyzer of test methods, meaning capturing
behaviour that is the same for both...
Small cleanup
23cc5b9c9175425d301bed8d99a256a7116574b2 authored over 6 years agoAdd Installation element to compile using msbuild 15.8
71cbf97214f932688294f6735be45a407e11365d authored over 6 years ago
Otherwise the build fail on msbuild 15.8 with the error:
VSSDK : error VSSDK1311: The vsixmanife...
ac0acde598153b83342cc798c665cd4459da200a authored over 6 years ago
Fixing repository url metadata
6e1015af2de9228a20ac53cc4effe12b96a39a6a authored over 6 years ago2081344b33e96177e0a4f83683838368f4ca6d56 authored over 6 years ago
removed unused variables, unused init values, move to c#7
86223ca95d61835b127b83f096c6117b39b4febb authored over 6 years agoAdd images to README.md
457eb4fedbfeb6024648755b5be847195a90ccc0 authored over 6 years agoAdd images for analyzers to README.md
Relates to #27
fb757f856289ba7147396bf53946af6300d95dd1 authored over 6 years agoTry to handle forwarded types in .NET Core
15bd730fe8ba7b7c5952400a9b4eadeb60c9dd20 authored over 6 years ago2794944cdc5fb29f54db341a45b1cb9cababef20 authored over 6 years ago
Make CanAssignTo handle passing int for nullable long
4e14e9313a60006a532e0080494080b0bd50d71c authored over 6 years agoFixes #55
To match the change in nunit/nunit#2371
6bc99e79b46a44c1de211c8d93a8b63e122634c7 authored over 6 years agoAdd initial content to CONTRIBUTING.md
97213e8c20ea854fd3090a44125822b7df4ab74a authored over 6 years agoFixes #33
2bc533dba1db21300ce84306af32df06ae84c515 authored over 6 years agoUpdate information about building the analyzer
ed28ef355070d87f8d69358de1f0309b5341240c authored over 6 years agoMake Appveyor run tests before creating nuget package
89bd37ba47653b62e54d877bc69d62b489aa9acb authored over 6 years ago43e9b9f9e1d4691d03a1b023e90585531cbecbfb authored over 6 years ago
Make analyzer robust wrt invocations outside methods
44312f62f73930bfaf8ef4ada30b68d4d0825442 authored over 6 years agoFixes #13
06d7a084fb9c9d329354c415dc397d44fee789b9 authored over 6 years agoRemove unnecessary extraction of attribute argument value
ee9de7e7e31e575fe6d8327848e738f574778d7e authored over 6 years agoUpdate Download section
041459ae31f0a59b6b08986832d6a23d818ea3f9 authored over 6 years agoRelates to #27
155aaf5b9fe1c6350911d84caa9a0260a50bed64 authored over 6 years agoThe value was not used and only worked for literal expressions.
Fixes #11
2985b949c616a21f6b21237fd91e815adddbbcbf authored over 6 years agoAdd badge to MyGet Feed
817f7a6cb557650ab8323e2a340bd72d57caa41e authored over 6 years ago1b24cc2948b9228b7d7db1cac46bbb6ba4a9a5c1 authored over 6 years ago
Add myget feed to project
1761b7c9444e852d8bbff5d129ba3518ea2385a7 authored over 6 years agoFixes #37
d313706bc6788296bd74d66b559914428fe3c135 authored over 6 years agoSet package version
4f67f982d28a8c305a1883fc750ab558eddf55e7 authored over 6 years agoHeavily inspired by the current solution in nunit-console.
Relates to #37.
900138687596b9f2f193430c6dc3828f2ae8f081 authored over 6 years agoCreate nuget package on AppVeyor
6065154388b9533ae61ed2cfdf4dbda766c542de authored over 6 years ago7e4232440d1310176d9b870a2424396ef74635eb authored over 6 years ago
05103fc61b8281f296be592f1678a809508050b6 authored over 6 years ago
892eed54590615efc8ff4e04a83ff2e71e406672 authored over 6 years ago
c16cb7cc757f7c3833b36973900cb2f3cd2dfa58 authored over 6 years ago
49f757731f9b384537bc0a7bde5f5e1f0f611e80 authored over 6 years ago
260040a9fc37e20ed4b90210e5b068924a1d2cc4 authored over 6 years ago
Reorder statements for performance reasons
7bfa576fc98be55922ef71fdb689eb6b1ca288a9 authored over 6 years agoa6979910ca829046cc9c2d437ad2c1b6dfc7b84c authored over 6 years ago
Only examine TestCaseAttribute if reference to NUnit exists
741196ce92fa7f1eb2aa82689a43d82ab2de5f02 authored over 6 years ago42ce10d1ee5f514213cdd288dfe7a58f82ec21be authored over 6 years ago
Make all cs files conform to editorconfig
96e5989eaf538e4deeac660d122eb83eab34fe98 authored over 6 years ago
* Of attributes
* Of parameters
* Of nested expressions
Only indention I think (tabs and 2 spaces => 4 spaces).
(By changing my VS defaults, as .editor...
dc66ce250497e7987325d20e838717a053d66a1a authored almost 7 years ago
Essentially opening each file, formatting the file and
sorting the usings, and finally closing t...
Make VSIX compile on VS2017
20662bd673a03b092fd251b3b71c82ddc5f01ceb authored almost 7 years ago
Temporarily, we compile with 32-bit MSBuild in the cake
script. A later solution will probably b...
Remove dependency on NUnit in the analyzer project
e7c7eb258913dfc7d1644955ceb16067abcef9d6 authored almost 7 years ago
The correspondence between string constants in the analyzer
project and concepts in NUnit is kep...
Update readme
13e40eae8eb219b1a873b0acfc2973067c60af97 authored almost 7 years ago04ba857dd67746a88a260600858413dfcc1ca114 authored almost 7 years ago
fb8decd3d9cbb70be896a599ca3cc9aab0925f08 authored almost 7 years ago
Relates to #27
30b1d716331b60109383393e5da634036fd4d86b authored almost 7 years agoAdd Clean task
7ac997ac962cdf54464ca98561dd93d3fc8dce42 authored almost 7 years agoFixes #30
Minor changes to path and file constants and less info from packet restore.
321ab53889ebace3f335784ca574d7cc474cbe8e authored almost 7 years agoAdd .editorconfig fix #22.
3693cb86586b577f55fd7654588164a0ec895980 authored almost 7 years ago3ad6c240e38a2b7dc5eec41f3d41e8157051092e authored almost 7 years ago
Make build execute tests
e19666d7e771bb6f8c31f2425add43d3f2704c7a authored almost 7 years agoFixes #17
4b333e185839069f2e117bb3ea7cd7a28f3d6311 authored almost 7 years ago42b7f2009e31d821268017ab5b69b773ac90d604 authored almost 7 years ago
Start with defaults from https://raw.githubusercontent.com/nunit/nunit/master/.editorconfig
f04526a9973f3463590f1a442c077c3ef8709038 authored almost 7 years agoDummy change to trigger appveyor
1aea5fab9cfb22494186a7c5adc3d2fd14b224c3 authored almost 7 years agoMinor update. Mostly to trigger appveyor.
fe361868131e68af5123466bf182be20f078eb58 authored almost 7 years agoa2f56a58a384ca165c7c924f0c44da93defdf60d authored almost 7 years ago
Add initial cake script
3a8e6c74ccebb6d16ec28a76cc4b2b46df26ada1 authored almost 7 years ago
In order to get the initial script working I've temporarily commented
out the VSIX project from ...