Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion utbot-rider/src/dotnet/UtBot/UtBot.VSharp/VSharpMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ private static GenerateResults GenerateImpl(GenerateArguments arguments)
using var fs = File.OpenRead(assemblyPath);
var ass = assemblyLoadContext.LoadFromStream(fs);
var type = ass.GetType(descriptor.TypeName, throwOnError: false);
if (type?.Name != descriptor.TypeName)
if (type?.FullName != descriptor.TypeName)
throw new InvalidDataException($"cannot find type - {descriptor.TypeName}");
var methodInfo = type.GetMethod(descriptor.MethodName,
BindingFlags.Instance
Expand Down
2 changes: 1 addition & 1 deletion utbot-rider/src/dotnet/UtBot/UtBot/UnitTestBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected override void Process(CSharpGeneratorContext context, IProgressIndicat
var descriptors = new List<MethodDescriptor>();
foreach (var inputElement in context.InputElements.WithProgress(progress, "Generating Unit tests")
.OfType<GeneratorDeclaredElement<IMethod>>())
descriptors.Add(new MethodDescriptor(inputElement.DeclaredElement.ShortName, typeElement.ShortName));
descriptors.Add(new MethodDescriptor(inputElement.DeclaredElement.ShortName, typeElement.GetClrName().FullName));

var progressLifetimeDef = _lifetime.CreateNested();
var indicator =
Expand Down
56 changes: 10 additions & 46 deletions utbot-rider/src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,60 +1,24 @@
<!--suppress HttpUrlsUsage -->
<idea-plugin>

<id>org.utbot.intellij.plugin.id</id>
<id>org.utbot.rider.plugin.id</id>
<name>UnitTestBot</name>
<vendor>utbot.org</vendor>
<depends>com.intellij.modules.rider</depends>

<!-- Minimum and maximum build of IDE compatible with the plugin -->
<description>
<![CDATA[
Generate <b>unit tests</b> with a single action!
<br />
<br />
The <b>UTBot</b> engine goes through your code instructions and generates regression tests.
<br />
<br />
The engine finds potential problems in your code:
<br />
<br />
<ul>
<li>exceptions</li>
<li>hangs</li>
<li>overflows</li>
<li>and even native crashes</li>
</ul>
<br />
They are not a surprise for you anymore. The engine will find the problems and generate tests for them.
<br />
<br />
The engine carefully selects tests to maximize statement and branch coverage. Our credo is to <i>maximize test coverage and minimize tests number</i>.
<br />
<br />
You can <a href="http://utbot.org">try the engine online</a> without installation.
<br />
<br />
Got ideas? Let us know or become a contributor on our <a href="https://github.com/UnitTestBot/UTBotJava/blob/main/CONTRIBUTING.md">GitHub page</a>
<br />
<br />
Found an issue? Please, submit <a href="https://github.com/UnitTestBot/UTBotJava/issues">it here</a>.
]]>
</description>
<change-notes>
<![CDATA[
In this version we have implemented multiple features and improvements:
Automated unit test generation tool for .NET assemblies.
<ul>
<li>Java 11 support.</li>
<li>Smart Fuzzer significantly improves test generation results.</li>
<li>Generated tests have become even more human-readable and user-friendly.</li>
<li>We have enabled Mac OS X platform, give it a try.</li>
<li>The UnitTestBot engine generates SARIF reports.</li>
<li>We have polished plugin UX.</li>
<li>Mocking support is enhanced.</li>
<li>Java Streams, better Java Optional support, Java String support is improved, package-private constructors now are used for the test generation.</li>
<li>Generating ready-to-use test cases with method bodies and inputs</li>
<li>Maximizing branch coverage in regression suite while keeping the number of tests at minimum</li>
<li>Capable to find deeply hidden code defects and express them as tests</li>
Copy link
Collaborator

Choose a reason for hiding this comment

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

*capable of

<li>Applicable to LINQ syntax and complex generics</li>
<li>Supporting .NET Framework, .NET Core, .NET 5, and .NET 6</li>
<li>Powered by <a href="https://github.com/VSharp-team/VSharp">V#</a> – the custom symbolic execution engine</li>
</ul>
Discover everything mentioned above and much more in this release.
Try UnitTestBot .NET <a href="https://www.utbot.org/demo">online demo</a> to see how it generates tests for your code in real time.
]]>
</change-notes>
</description>

</idea-plugin>
115 changes: 4 additions & 111 deletions utbot-rider/src/main/resources/META-INF/pluginIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading