Prove: il seme del mondo sintetico si sceglie con FEBE_SEME_PROVA
Le prove avviano il sito di prova solo da SyntheticSite, che legge il seme da FEBE_SEME_PROVA e usa 13 quando manca: senza la variabile non cambia nulla. Le classi che lo avviano stanno nella categoria SitoDiProva, così la CI può rifarle con un seme diverso a ogni esecuzione senza raddoppiare tutta la suite, e il seme finisce nell'output della prova per rifare un errore. Nuove prove senza browser: la forma del mondo su cui contano le prove d'insieme vale per 300 semi, i lettori leggono pagina dopo pagina ciò che il sito serve con il seme dell'esecuzione, e nessuna prova avvia il sito per altre vie o resta fuori dalla categoria. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
edade61b72
commit
f7237145aa
10 files changed
+307
-5
No files matched your search
@@ -4,7 +4,6 @@ using Febe.Browser.Cdp;
|
||||
using Febe.Browser.Gestures;
|
||||
using Febe.Core.Abstractions;
|
||||
using Febe.Core.Collection;
|
||||
using Febe.SitoDiProva;
|
||||
using Febe.Sonda;
|
||||
using Febe.Tests.Collection.Support;
|
||||
using Febe.Tests.Support;
|
||||
@@ -16,6 +15,7 @@ namespace Febe.Tests.Collection;
|
||||
/// the probe only listens. Then the whole M0 path: raw samples, cleaning, verification.
|
||||
/// </summary>
|
||||
[TestClass]
|
||||
[TestCategory(SyntheticSite.Category)]
|
||||
[DoNotParallelize]
|
||||
public sealed class ProbeIntegrationTests
|
||||
{
|
||||
@@ -53,7 +53,7 @@ public sealed class ProbeIntegrationTests
|
||||
Assert.Inconclusive(s_unavailable);
|
||||
}
|
||||
|
||||
await using var site = await TestSite.StartAsync();
|
||||
await using var site = await SyntheticSite.StartAsync();
|
||||
using var temp = new TempFolder("sonda");
|
||||
var raw = temp.Combine("grezzi");
|
||||
var hosts = new HostClassifier([site.SiteHost], [site.CdnHost]);
|
||||
|
||||
Reference in new issue
Block a user