Is there an easier way to test a package after finishing code writing?

Is there an easier way to test a package after finishing the code writing?

It is a little time taking to open unreal engine each time to test the game. So, is there a easier way like using a .bat file?

In VS, right click on your project and choose Properties. Go to Configuration properties - > Debugging and in Command arguments type this:
.uproject -debug -game

You should be able to run your game directly from Visual Studio.

That still opens up the UE4 editor.

Is there no way to open a game without opening the editor?

In UDK we used something like this in a .bat file to open the game without opening the editor.

D:\UDK\Binaries\Win32\UDK.exe Untitled1?GloadScore=0?TimeLimit=0?Game=GameBase.GameType -log

Hello,

Thank you for your report. We were not able to investigate this on the engine version you reported, but there have been many version changes to UE4 since this question was first posted. With a new version of the Engine comes new fixes and it is possible that this issue has changed or may no longer occur. Due to timetable of when this issue was first posted, we are marking this post as resolved for tracking purposes. If you are still experiencing the issue you reported in the current engine version, then please respond to this message with additional information and we will investigate as soon as possible. If you are experiencing a similar, but different issue at this time, could you please submit a new report for it.

Thanks!