kandi background
Explore Kits

Entitas-CSharp | Entitas is a super fast Entity Component System Framework specifically made for C# and Unity | Game Engine library

 by   sschmid C# Version: 1.13.0 License: MIT

 by   sschmid C# Version: 1.13.0 License: MIT

Download this library from

kandi X-RAY | Entitas-CSharp Summary

Entitas-CSharp is a C# library typically used in Institutions, Learning, Administration, Public Services, Gaming, Game Engine, Unity applications. Entitas-CSharp has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.
<p align="center"> <img src="https://raw.githubusercontent.com/sschmid/Entitas-CSharp/master/Readme/Images/Entitas-Header.png" alt="Entitas"> </p>. <p align="center"> <a href="https://discord.gg/uHrVx5Z"> <img src="https://img.shields.io/discord/599321316377624601.svg?logo=discord&logoColor=FFFFFF&label=Discord&labelColor=6A7EC2&color=7389D8" alt="Entitas on Discord"></a> <a href="https://github.com/sschmid/Entitas-CSharp/releases"> <img src="https://img.shields.io/github/release/sschmid/Entitas-CSharp.svg" alt="Latest release"></a> </p>. <p align="center"> <a href="https://twitter.com/intent/follow?original_referer=https%3A%2F%2Fgithub.com%2Fsschmid%2FEntitas-CSharp&screen_name=s_schmid&tw_p=followbutton"> <img src="https://img.shields.io/twitter/follow/s_schmid" alt="Twitter Follow Me"></a> <a href="https://twitter.com/intent/follow?original_referer=https%3A%2F%2Fgithub.com%2Fsschmid%2FEntitas-CSharp&screen_name=entitas_csharp&tw_p=followbutton"> <img src="https://img.shields.io/twitter/follow/entitas_csharp" alt="Twitter Follow Me"></a> </p>. <p align="center"> <b>Entitas is free, but powered by</b> <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BTMLSDQULZ852"> <b>your donations</b> </a> </p>. <p align="center"> <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BTMLSDQULZ852"> <img src="https://img.shields.io/static/v1.svg?logo=paypal&label=PayPal&labelColor=3F70B6&&message=Donate&color=gray" alt="Join the chat at https://gitter.im/sschmid/Entitas-CSharp"></a>; </p>.
Support
Support
Quality
Quality
Security
Security
License
License
Reuse
Reuse

kandi-support Support

  • Entitas-CSharp has a medium active ecosystem.
  • It has 5565 star(s) with 1019 fork(s). There are 425 watchers for this library.
  • It had no major release in the last 12 months.
  • There are 174 open issues and 698 have been closed. On average issues are closed in 30 days. There are 11 open pull requests and 0 closed requests.
  • It has a neutral sentiment in the developer community.
  • The latest version of Entitas-CSharp is 1.13.0
Entitas-CSharp Support
Best in #Game Engine
Average in #Game Engine
Entitas-CSharp Support
Best in #Game Engine
Average in #Game Engine

quality kandi Quality

  • Entitas-CSharp has 0 bugs and 0 code smells.
Entitas-CSharp Quality
Best in #Game Engine
Average in #Game Engine
Entitas-CSharp Quality
Best in #Game Engine
Average in #Game Engine

securitySecurity

  • Entitas-CSharp has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
  • Entitas-CSharp code analysis shows 0 unresolved vulnerabilities.
  • There are 0 security hotspots that need review.
Entitas-CSharp Security
Best in #Game Engine
Average in #Game Engine
Entitas-CSharp Security
Best in #Game Engine
Average in #Game Engine

license License

  • Entitas-CSharp is licensed under the MIT License. This license is Permissive.
  • Permissive licenses have the least restrictions, and you can use them in most projects.
Entitas-CSharp License
Best in #Game Engine
Average in #Game Engine
Entitas-CSharp License
Best in #Game Engine
Average in #Game Engine

buildReuse

  • Entitas-CSharp releases are available to install and integrate.
  • Installation instructions, examples and code snippets are available.
Entitas-CSharp Reuse
Best in #Game Engine
Average in #Game Engine
Entitas-CSharp Reuse
Best in #Game Engine
Average in #Game Engine
Top functions reviewed by kandi - BETA

Coming Soon for all Libraries!

Currently covering the most popular Java, JavaScript and Python libraries. See a SAMPLE HERE.
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.

Entitas-CSharp Key Features

Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity

Community Discussions

Trending Discussions on Entitas-CSharp
  • Unit tests are inconclusive when adding xUnit project to Unity project
Trending Discussions on Entitas-CSharp

QUESTION

Unit tests are inconclusive when adding xUnit project to Unity project

Asked 2020-Nov-10 at 07:33

I create a new Unity project and make sure the Assembly-CSharp.csproj file exists by creating a script in the Assets folder. I open that script and edit it to

public class AScript : MonoBehaviour {}

I close the IDE and Unity after that. The Assembly-CSharp.csproj file exists now in the root directory of the project.

I start my IDE again (without Unity) and open the project from the .sln file. I add a new xUnit project to the solution and modify the first test to

[Fact]
public void Test1()
{
    Assert.True(true);
}

Just for the sake of completeness I reference the Unity project in my test project. When running the test (which should be fine) the tests didn't run because they are inconclusive. I found this information in the test output

Last runner error: No such file or directory

Below I will post the whole test output. Does someone know how to add a unit test project to a Unity project? Please let me know if you need more information.

I don't want to use the Unity test framework because I'm using Entitas and don't want to rely on the engine. I just want to test my pure C# code outside.

I'm also curious why Rider comes up with this when adding the test project to the solution

enter image description here

I got it working but I don't like the solution, so please explain if this is the only way or if this is wrong (as I think)

When creating a completely new solution with only that test project the unit tests will run correctly. Now I can add the existing Unity project via "Add existing project". Referencing the Unity project works fine too.

So yeah this works but now I have two solutions in my repository? Why do I have to separate the test project? Why can't I just add the unit test project to Unity's solution file?


This is the whole test output

TestProject1.UnitTest1.Test1

Test not run

Last runner error: No such file or directory

--- EXCEPTION #1/2 [Win32Exception] Message = “No such file or directory” ExceptionPath = Root.InnerException ClassName = System.ComponentModel.Win32Exception HResult = E_FAIL=EFail=80004005 Source = System.Diagnostics.Process NativeErrorCode = 2 StackTraceString = “ at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at JetBrains.ReSharper.UnitTestFramework.Processes.PreparedProcess.Start() at JetBrains.ReSharper.UnitTestFramework.TestRunner.TestRunnerRunStrategy.<>c.b__19_1(IPreparedProcess p) at JetBrains.Util.Special.GeneralUtil.With[T](T control, Action1 action) at JetBrains.ReSharper.UnitTestFramework.TestRunner.TestRunnerRunStrategy.StartTestRunner(IUnitTestRun run, ITestRunnerEnvironmentSpecifier environmentSpecifier, IUnitTestAgentCommunicationChannel channel) at JetBrains.ReSharper.UnitTestFramework.TestRunner.TestRunnerRunStrategy.Run(IUnitTestRun run) --- End of stack trace from previous location where exception was thrown --- at JetBrains.ReSharper.UnitTestFramework.Launch.UnitTestRun.StartCore(CancellationToken onCancel, CancellationToken onAbort) at JetBrains.ReSharper.UnitTestFramework.Launch.UnitTestRun.<>c.<StartCore>b__29_0(ExceptionDispatchInfo e) at JetBrains.Util.Special.GeneralUtil.WithNotNull[T](T item, Action1 F) at JetBrains.ReSharper.UnitTestFramework.Launch.UnitTestRun.StartCore(CancellationToken onCancel, CancellationToken onAbort) at JetBrains.ReSharper.UnitTestFramework.Launch.UnitTestRun.Start(CancellationToken onCancel, CancellationToken onAbort) ”

--- Outer ---

--- EXCEPTION #2/2 [LoggerException] Message = “No such file or directory” ExceptionPath = Root ClassName = JetBrains.Util.LoggerException InnerException = “Exception #1 at Root.InnerException” HResult = COR_E_APPLICATION=80131600 StackTraceString = “ at JetBrains.Util.ILoggerEx.LogException(ILogger this, LoggingLevel level, Exception exception, ExceptionOrigin exceptionOrigin, String comment) at JetBrains.Util.ILoggerEx.Error(ILogger this, Exception exception, ExceptionOrigin origin, String comment) at JetBrains.ReSharper.UnitTestFramework.Launch.UnitTestRun.Start(CancellationToken onCancel, CancellationToken onAbort) at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at JetBrains.ReSharper.UnitTestFramework.Launch.UnitTestRun.Start(CancellationToken onCancel, CancellationToken onAbort) at JetBrains.ReSharper.UnitTestFramework.Launch.Stages.RunTestsStage.<>c__DisplayClass5_0.b__0() at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) at System.Threading.Tasks.Task.ExecuteFromThreadPool(Thread threadPoolThread) at System.Threading.ThreadPoolWorkQueue.Dispatch() ”

ANSWER

Answered 2020-Nov-10 at 07:33

Unfortunately you can't manipulate the csproj or sln files because Unity will throw them away after next compilation.

Just create new solution with a test project right next to the Unity project. Add the Unity project as an existing project to your test solution.

Since you mentioned you are using Entitas you can follow this guide to setup your tests

https://github.com/sschmid/Entitas-CSharp/wiki/How-to-setup-a-new-Github-project-with-Unity-and-tests#setting-up-tests

Source https://stackoverflow.com/questions/64718598

Community Discussions, Code Snippets contain sources that include Stack Exchange Network

Vulnerabilities

No vulnerabilities reported

Install Entitas-CSharp

Each release is published with zip files containing all source files you need.

Support

For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .

DOWNLOAD this Library from

Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

Share this Page

share link
Reuse Pre-built Kits with Entitas-CSharp
Compare Game Engine Libraries with Highest Support
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

  • © 2022 Open Weaver Inc.