Skip to content

Commit d6ceb62

Browse files
Move to TUnit and add tests to CI (#108)
* Removed fluent assertions and moved to tunit * Add TRX report package * Fix the home page * Update home page * Add PHog
1 parent 400e6b6 commit d6ceb62

28 files changed

+349
-425
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ resharper_max_attribute_length_for_same_line = 80
129129
resharper_nested_ternary_style = expanded
130130
resharper_outdent_binary_ops = true
131131

132-
file_header_template = Copyright (C) Eventuous HQ OÜ.All rights reserved\nLicensed under the Apache License, Version 2.0.
132+
file_header_template = Copyright (c) Kurrent, Inc and/or licensed to Kurrent, Inc under one or more agreements.\nKurrent, Inc licenses this file to you under the Kurrent License v1 (see LICENSE.md).
133133

134134
# ReSharper properties
135135
resharper_redundant_using_directive_highlighting = error
File renamed without changes.
File renamed without changes.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: "PR Build and test"
2+
on:
3+
workflow_dispatch:
4+
pull_request:
5+
paths-ignore:
6+
- docs/**
7+
8+
jobs:
9+
event_file:
10+
name: "Event File"
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Upload
14+
uses: actions/upload-artifact@v4
15+
with:
16+
name: Event File
17+
path: ${{ github.event_path }}
18+
build-and-test:
19+
name: "Build and test"
20+
runs-on: ubuntu-latest
21+
steps:
22+
-
23+
name: Checkout
24+
uses: actions/checkout@v4
25+
-
26+
name: Setup .NET
27+
uses: actions/setup-dotnet@v4
28+
with:
29+
dotnet-version: "9.0"
30+
-
31+
name: Run tests
32+
run: |
33+
dotnet test
34+
-
35+
name: Upload Test Results
36+
if: always()
37+
uses: actions/upload-artifact@v4
38+
with:
39+
name: Test Results
40+
path: |
41+
test-results/**/*.xml
42+
test-results/**/*.trx
43+
test-results/**/*.json

LICENSE

Lines changed: 0 additions & 177 deletions
This file was deleted.

LICENSE.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Kurrent License v1
2+
3+
Copyright (c) 2011-2025, Kurrent, Inc. All rights reserved.
4+
5+
### Acceptance
6+
7+
By using the software, you agree to all of the terms and conditions below.
8+
9+
### Copyright License
10+
11+
The licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license to use, copy, distribute, make available, and prepare derivative works of the software, in each case subject to the limitations and conditions below.
12+
13+
### Limitations
14+
15+
You may not provide the software to third parties as a hosted or managed service, where the service provides users with access to any substantial set of the features or functionality of the software.
16+
17+
Unless authorized in writing by the licensor, you may not move, change, disable, interfere with, or circumvent the license mechanisms in the software, and you may not remove or obscure any functionality in the software that is protected by the license mechanisms.
18+
19+
You may not alter, remove, or obscure any licensing, copyright, or other notices of the licensor in the software. Any use of the licensor’s trademarks is subject to applicable law.
20+
21+
### Patents
22+
23+
The licensor grants you a license, under any patent claims the licensor can license, or becomes able to license, to make, have made, use, sell, offer for sale, import and have imported the software, in each case subject to the limitations and conditions in this license. This license does not cover any patent claims that you cause to be infringed by modifications or additions to the software. If you or your company make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
24+
25+
### Notices
26+
27+
You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms.
28+
29+
If you modify the software, you must include in any modified copies of the software prominent notices stating that you have modified the software.
30+
31+
### No Other Rights
32+
33+
These terms do not imply any licenses other than those expressly granted in these terms.
34+
35+
### Termination
36+
37+
If you use the software in violation of these terms, such use is not licensed, and your licenses will automatically terminate. If the licensor provides you with a notice of your violation, and you cease all violation of this license no later than 30 days after you receive that notice, your licenses will be reinstated retroactively. However, if you violate these terms after such reinstatement, any additional violation of these terms will cause your licenses to terminate automatically and permanently.
38+
39+
### No Liability
40+
41+
***As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.***
42+
43+
### Definitions
44+
45+
The **licensor** is the entity offering these terms, and the **software** is the software the licensor makes available under these terms, including any portion of it.
46+
47+
**licensing mechanisms** refers to functionality that restricts use of the software based on whether you possess a valid license key, including functionality to validate license keys and audit usage of the software to ensure license compliance.
48+
49+
**you** refers to the individual or entity agreeing to these terms.
50+
51+
**your company** is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. **control** means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
52+
53+
**your licenses** are all the licenses granted to you for the software under these terms.
54+
55+
**use** means anything you do with the software requiring one of your licenses.
56+
57+
**trademark** means trademarks, service marks, and similar rights.

docs/astro.config.mjs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,18 @@ export default defineConfig({
3434
autogenerate: {directory: 'deployment'},
3535
},
3636
],
37+
head: [
38+
{
39+
tag: "script",
40+
content: `!function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.crossOrigin="anonymous",p.async=!0,p.src=s.api_host+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags getFeatureFlag getFeatureFlagPayload reloadFeatureFlags group updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures getActiveMatchingSurveys getSurveys getNextSurveyStep onSessionId".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);
41+
posthog.init('phc_DeHBgHGersY4LmDlADnPrsCPOAmMO7QFOH8f4DVEVmD', { api_host:'https://phog.kurrent.io', })`
42+
},
43+
{
44+
tag: "script",
45+
content: `!function(){var i="analytics",analytics=window[i]=window[i]||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","screen","once","off","on","addSourceMiddleware","addIntegrationMiddleware","setAnonymousId","addDestinationMiddleware","register"];analytics.factory=function(e){return function(){if(window[i].initialized)return window[i][e].apply(window[i],arguments);var n=Array.prototype.slice.call(arguments);if(["track","screen","alias","group","page","identify"].indexOf(e)>-1){var c=document.querySelector("link[rel='canonical']");n.push({__t:"bpc",c:c&&c.getAttribute("href")||void 0,p:location.pathname,u:location.href,s:location.search,t:document.title,r:document.referrer})}n.unshift(e);analytics.push(n);return analytics}};for(var n=0;n<analytics.methods.length;n++){var key=analytics.methods[n];analytics[key]=analytics.factory(key)}analytics.load=function(key,n){var t=document.createElement("script");t.type="text/javascript";t.async=!0;t.setAttribute("data-global-segment-analytics-key",i);t.src="https://cloud.kurrent.io/segment/ajs/REDACTED";var r=document.getElementsByTagName("script")[0];r.parentNode.insertBefore(t,r);analytics._loadOptions=n};analytics._writeKey="weKEsHj3ijEBSzpMqXe9p4rHa0knM0Di";;analytics.SNIPPET_VERSION="5.2.0";
46+
analytics.load("REDACTED"); analytics.page(); }}();`
47+
}
48+
]
3749
}),
3850
],
3951

docs/src/content/docs/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ hero:
1010
image:
1111
file: ../../assets/replicator1.png
1212
actions:
13-
- text: Overview
13+
- text: Read the docs
1414
link: /intro/overview/
1515
icon: right-arrow
16-
- text: Read the Starlight docs
17-
link: https://starlight.astro.build
16+
- text: Kurrent Home
17+
link: https://kurrentdb.com
1818
icon: external
1919
variant: minimal
2020
---

0 commit comments

Comments
 (0)