Namespace / module formatting of tests.fs
See original GitHub issueWhat is an advantage of separating the namespace and module as is done in tests.fs
?
https://github.com/fslaborg/flips/blob/73e4065bd422b69ddf0a10bd55b1e2b897f7fe06/Flips.Tests/Tests.fs#L1-L3
I don’t know of any that apply to that file.
The alternative is to combine them like this.
module Flips.Tests.Types
An advantage of combining them is that there is one less level of indentation in the rest of the file.
I am willing to create a PR that combines them and reduce the indentation by one level in the rest of the file.
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (8 by maintainers)
Top Results From Across the Web
How do I Pytest a project using PEP 420 namespace ...
The issue you are facing is that you place tests aside the production code inside namespace packages. As stated here, pytest recognizes your ......
Read more >Tests fail when using TypeScript project references #1648
I.e. if I had a reference in package B to ~/formatting , and I would test package A which import s something from...
Read more >npm-style "@prefix/module" or something else? · Issue #12 ...
new core modules go under a namespace nodejs/node#21551 ... There is a module on npm called fs , another called domain .
Read more >README - fs
fs provides a cross-platform, uniform interface to file system operations. It shares the same back-end component as nodejs, the libuv C library, which...
Read more >F# coding conventions
F# features two primary ways to organize code: modules and namespaces. These are similar, but do have the following differences:.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI, the plan is to move all the examples to
.fsx
files in the future. Eases the delivery.Yes!