{"url":"https://baba-s.hatenablog.com/entry/2020/06/09/000000","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","blog_url":"https://baba-s.hatenablog.com/","type":"rich","version":"1.0","published":"2020-06-09 00:00:00","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/94867065/1535279515352365","author_name":"baba_s","categories":["Unity","Unity - Unity Test Runner"],"height":"190","width":"100%","author_url":"https://blog.hatena.ne.jp/baba_s/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2020%2F06%2F09%2F000000\" title=\"\u3010Unity\u3011Unity Test Runner \u3092\u30b9\u30af\u30ea\u30d7\u30c8\u304b\u3089\u5b9f\u884c\u3059\u308b\u65b9\u6cd5 - \u30b3\u30ac\u30cd\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"\u3010Unity\u3011Unity Test Runner \u3092\u30b9\u30af\u30ea\u30d7\u30c8\u304b\u3089\u5b9f\u884c\u3059\u308b\u65b9\u6cd5","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","description":"\u6982\u8981 using UnityEditor; using UnityEditor.TestTools.TestRunner.Api; using UnityEngine; internal static class Example { [MenuItem( \"Tools/Run Play Mode\" )] private static void RunPlayMode() { RunTest( TestMode.PlayMode ); } [MenuItem( \"Tools/Run Edit Mode\" )] private static void RunEditMode() { RunTest\u2026"}