Skip to content

Commit

Permalink
1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tacheometry committed Apr 30, 2021
1 parent c605070 commit 10c62c2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

Run [TestEZ](https://roblox.github.io/testez/) tests and view their results right from VS Code.

- Install the Roblox Studio plugin with either the command or saving it, adding it to Studio and clicking `Save as Local Plugin` (`command:testez-inspector.buildPlugin`)
- Install the Roblox Studio plugin with either the command or saving it, adding it to Studio and clicking `Save as Local Plugin` (`command:testez-companion.buildPlugin`)
- Make a `testez-companion.toml` file to configure how TestEZ should behave:

```toml
roots = ["ReplicatedStorage/myTests", "ServerStorage/some/other/tests"] # locations of your .spec files (which are found as descendants too)
extraOptions = {} # optional extraOptions for TestBootstrap
roots = ["ReplicatedStorage/myTests", "ServerStorage/some/other/tests"] # locations of your .spec files (which are found as descendants too)
extraOptions = {} # optional extraOptions for TestBootstrap
```

- Sync into Studio with [Rojo](https://rojo.space/)
Expand All @@ -20,7 +20,7 @@ _You can also right click on failing "it" blocks to output their errors._

## Known issues (contributions welcome)

- The `testez-inspector.installPlugin` command only works on `win32` systems. For installing the plugin on other systems, users will have to run `command:testez-inspector.buildPlugin`, then drag the `TestEZ Companion.rbxmx` over to Studio, and click `Save as Local Plugin`.
- The `testez-companion.installPlugin` command only works on `win32` systems. For installing the plugin on other systems, users will have to run `command:testez-companion.buildPlugin`, then drag the `TestEZ Companion.rbxmx` over to Studio, and click `Save as Local Plugin`.

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "testez-companion",
"displayName": "TestEZ Companion",
"description": "Run TestEZ tests and view their results right from VS Code",
"version": "1.1.1",
"version": "1.1.2",
"engines": {
"vscode": "^1.55.0"
},
Expand Down
4 changes: 2 additions & 2 deletions plugin/TestEZ Companion.rbxmx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ end
local loading, ERR = {}, {}

function hotReload.flush()
loading = {}
table.clear(loading)
end

function hotReload.require(mod)
Expand Down Expand Up @@ -112,7 +112,7 @@ end

local extractUsefulKeys = require(script.Parent:WaitForChild("extractUsefulKeys"))
local hotReload = require(script.Parent.hotReload)
local TestEZ = hotReload.require(script.Parent:WaitForChild("testez")) -- If we load it this way it doesn't need to be modified.
local TestEZ = hotReload.require(script.Parent:WaitForChild("testez"))

local RunService = game:GetService("RunService")
local HttpService = game:GetService("HttpService")
Expand Down

0 comments on commit 10c62c2

Please sign in to comment.