/*
 * Copyright (c) 2015-2017 Dzikoysk
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.panda_lang.panda;

import org.panda_lang.panda.implementation.structure.PandaApplication;

import java.io.File;

public class DefaultTest {

    private static final File SCRIPT = new File("examples/current_test.panda");

    public static void main(String[] args) {
        PandaFactory pandaFactory = new PandaFactory();
        Panda panda = pandaFactory.createPanda();

        PandaLoader pandaLoader = panda.getPandaLoader();
        PandaApplication pandaApplication = pandaLoader.loadFiles(SCRIPT);

        pandaApplication.launch(args);
    }

}

@@ -626,16 +626,39 @@
 panda;%0A%0A
+import org.junit.Test;%0A
 import o
@@ -771,16 +771,61 @@
 Test %7B%0A%0A
+    private static final String%5B%5D args = %7B%7D;%0A
     priv
@@ -865,16 +865,19 @@
 w File(%22
+../
 examples
@@ -908,45 +908,54 @@
     
-public static void main(String%5B%5D args
+@Test%0A    public void testScriptFileExecution(
 ) %7B%0A

Add script execution test