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

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.