# Prerelease of new testing framework and test run UI in VS Code

**URL:** <https://discourse.julialang.org/t/prerelease-of-new-testing-framework-and-test-run-ui-in-vs-code/86355>\
**Category:** VS Code\
**Created:** [August 25, 2022, 7:37pm UTC](https://discourse.julialang.org/t/prerelease-of-new-testing-framework-and-test-run-ui-in-vs-code/86355 "2022-08-25T19:37:13Z")\
**Posts on this page:** 1\
**Showing post:** 53

<div class="post-metadata">

**Author:** ![brianguenter](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brianguenter/32/29519_2.png) [@brianguenter](https://discourse.julialang.org/u/brianguenter)\
**Post date:** [February 8, 2023, 7:18pm UTC](https://discourse.julialang.org/t/prerelease-of-new-testing-framework-and-test-run-ui-in-vs-code/86355/53 "2023-02-08T19:18:27Z")

</div>

I finally figured out why it appeared that the test framework was running out of date code. For reasons that are still unclear sometimes VSCode takes much longer than it should, minutes instead of a fraction of a second, to save small julia files. I was changing code in the test cases and then running them immediately but VSCode hadn’t saved them yet so the old versions were run.

I believe this is related to file formatting. I have VSCode set to autosave on focus change _and_ to format on save.

Ordinarily formatting and saving the files takes a fraction of a second. But, the longer my REPL session is active the longer formatting and saving takes, until eventually it takes minutes to format and save a 200 line file. Then I have to restart VSCode to get acceptable response.

I posted a question about this [here](https://discourse.julialang.org/t/vscode-taking-a-very-long-time-to-format-saved-file/92531/2) but did not get a resolution.

@davidanthoff do you have any ideas about how I can fix the slow saving problem?

> **Version and OS info**
>
> ```julia
> julia> versioninfo()
> Julia Version 1.8.5
> Commit 17cfb8e65e (2023-01-08 06:45 UTC)
> Platform Info:
> OS: Windows (x86_64-w64-mingw32)
> CPU: 32 × AMD Ryzen 9 7950X 16-Core Processor
> WORD_SIZE: 64
> LIBM: libopenlibm
> LLVM: libLLVM-13.0.1 (ORCJIT, znver3)
> Threads: 32 on 32 virtual cores
> Environment:
> JULIA_EDITOR = code.cmd
> 
> ```

> **VSCode settings**
>
> ```julia
> {
> "terminal.integrated.commandsToSkipShell": [
> "language-julia.interrupt"
> ],
> 
> "editor.fontFamily": "JuliaMono,Consolas,Courier New ,monospace",
> "editor.fontLigatures": "'zero', 'ss02', 'ss04', 'ss05', 'ss08'",
> "julia.symbolCacheDownload": true,
> "julia.enableTelemetry": true,
> "files.autoSave": "onFocusChange",
> "workbench.editor.enablePreview": false,
> "workbench.editor.revealIfOpen": true,
> "git.confirmSync": false,
> "editor.accessibilitySupport": "off",
> "terminal.integrated.tabs.enabled": false,
> "editor.minimap.enabled": false,
> "git.enableSmartCommit": true,
> "editor.wordWrap": "on",
> "editor.defaultFormatter": "julialang.language-julia",
> "editor.formatOnSave": true,
> "julia.NumThreads": "auto",
> "julia.useCustomSysimage": true
> }
> 
> ```

---

_[View the full topic](https://discourse.julialang.org/t/prerelease-of-new-testing-framework-and-test-run-ui-in-vs-code/86355)._
