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
@@ -9,6 +9,7 @@ using Febe.Core.Storage;
|
||||
using Febe.SitoDiProva;
|
||||
using Febe.Tests.Alerts.Support;
|
||||
using Febe.Tests.Server.Support;
|
||||
using Febe.Tests.Support;
|
||||
using Febe.Web.Connection;
|
||||
|
||||
namespace Febe.Tests.Server;
|
||||
@@ -20,6 +21,7 @@ namespace Febe.Tests.Server;
|
||||
/// the remote view. Never Instagram: the browser only sees 127.0.0.1.
|
||||
/// </summary>
|
||||
[TestClass]
|
||||
[TestCategory(SyntheticSite.Category)]
|
||||
[DoNotParallelize]
|
||||
public sealed partial class ServerEndToEndTests
|
||||
{
|
||||
|
||||
@@ -60,7 +60,7 @@ internal sealed class ServerTestBed : IAsyncDisposable
|
||||
public static async Task<ServerTestBed> StartAsync(bool autoLogin = false, double factor = 10, HttpMessageHandler? telegram = null, IFreeSpaceProbe? freeSpace = null)
|
||||
{
|
||||
var temp = new TempFolder("server");
|
||||
var site = await TestSite.StartAsync(new TestSiteOptions());
|
||||
var site = await SyntheticSite.StartAsync();
|
||||
var zone = NoonZone();
|
||||
var clock = new CompressedClock(factor, zone);
|
||||
var options = new ServerOptions
|
||||
|
||||
Reference in new issue
Block a user